Generate icons/scalable svg symlink to pixmaps dir (Unity compatible)

This commit is contained in:
Bandie 2018-11-03 16:43:49 +01:00
parent 3076028f4c
commit 41a8921178
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD
2 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,8 @@ AC_SUBST(PACKAGE)
AC_SUBST(VERSION) AC_SUBST(VERSION)
AC_USE_SYSTEM_EXTENSIONS AC_USE_SYSTEM_EXTENSIONS
AC_PROG_LN_S
AC_PROG_MKDIR_P
AC_PROG_CC AC_PROG_CC
CFLAGS+=" -std=gnu11" CFLAGS+=" -std=gnu11"

View File

@ -1,2 +1,7 @@
appicondir=$(datadir)/icons/hicolor/scalable/apps appicondir=$(datadir)/icons/hicolor/scalable/apps
appicon_DATA=pampanic.svg appicon_DATA=pampanic.svg
pixmapsdir=$(datadir)/pixmaps
install-exec-hook:
$(MKDIR_P) $(pixmapsdir)
$(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg