Merge pull request #97 from Bandie/master
Static install for icons since launchpad is making it hard
This commit is contained in:
commit
d6bf4530e2
@ -2,7 +2,6 @@ SUBDIRS = applications icons/48x48 icons/64x64 icons/scalable
|
||||
bin_SCRIPTS = pam_panic_config
|
||||
|
||||
%: %.prebuild.sh
|
||||
make clean-local
|
||||
{ sldr=$$(echo "$(SECUREDIR)" | $(SED) 's/\//\\\//g'); bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g'); version=$$(echo $(VERSION)); $(SED) "s/__SECURELIBDIR__/$$sldr/;s/__PAMPANICPW__/$$bdr\/pam_panic_pw/;s/__VERSION__/$$version/" $< > $@ ; }
|
||||
chmod +x $@
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
appicondir=$(datadir)/icons/hicolor/scalable/apps
|
||||
appicon_DATA=pampanic.svg
|
||||
pixmapsdir=$(datadir)/pixmaps
|
||||
|
||||
install-exec-hook:
|
||||
install:
|
||||
$(MKDIR_P) $(appicondir)
|
||||
$(install_sh_DATA) pampanic.svg $(appicondir)/
|
||||
test -L $(pixmapsdir)/pampanic.svg && echo "Symlink exists" || { $(MKDIR_P) $(pixmapsdir) ; $(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg ; }
|
||||
|
Loading…
Reference in New Issue
Block a user