autoconf, you are so great.

This commit is contained in:
Bandie 2018-12-03 22:55:38 +01:00
parent 25e4fd6e8b
commit 7acdf617db
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD

View File

@ -1,7 +1,5 @@
appicondir=$(prefix)$(datadir)/icons/hicolor/scalable/apps appicondir=$(datadir)/icons/hicolor/scalable/apps
pixmapsdir=$(prefix)$(datadir)/pixmaps appicon_DATA=pampanic.svg
install: pixmapdir=$(datadir)/pixmaps
$(MKDIR_P) $(appicondir) pixmap_DATA=pampanic.svg
$(install_sh_DATA) pampanic.svg $(appicondir)/pampanic.svg
test -L $(pixmapsdir)/pampanic.svg && echo "Symlink exists" || { $(MKDIR_P) $(pixmapsdir) ; $(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg ; }