dist: new application icons and Makefile
Continuing the discussion started on GitHub over 2014-09-30T01:33:29Z!mikeonthecomputer@gmail.com, all desktop entries now have unique icons. Keeping my own personal bias, stfkill3 is still used for FreeDM, but the Debian choices for their own distro are used for Phases 1 and 2. Also, the icons are actually generated automatically now.master
parent
522495f831
commit
f6fcee1600
10
Makefile
10
Makefile
|
@ -135,13 +135,15 @@ waddir?=/share/games/doom
|
|||
target=$(DESTDIR)$(prefix)
|
||||
|
||||
%.6:
|
||||
sed -e s/freedoom/$*/ dist/freedoom.adoc > dist/$*.adoc
|
||||
a2x -f manpage dist/$*.adoc
|
||||
$(MAKE) -C dist man-$*
|
||||
|
||||
%.png:
|
||||
$(MAKE) -C dist icon-$*
|
||||
|
||||
# This is bad because it assumes the IWADs will always be defined like
|
||||
# this. I just can't see another way to do it. Fix later if possible.
|
||||
|
||||
install-%: $(WADS)/%.wad %.6
|
||||
install-%: $(WADS)/%.wad %.6 %.png
|
||||
install -d "$(target)$(bindir)"
|
||||
install -m 755 dist/freedoom "$(target)$(bindir)/$*"
|
||||
install -d "$(target)$(mandir)/man6"
|
||||
|
@ -153,7 +155,7 @@ install-%: $(WADS)/%.wad %.6
|
|||
install -d "$(target)/share/appdata"
|
||||
install -m 644 dist/$*.appdata.xml "$(target)/share/appdata"
|
||||
install -d "$(target)/share/icons"
|
||||
install -m 644 dist/freedoom.png "$(target)/share/icons/$*.png"
|
||||
install -m 644 dist/$*.png "$(target)/share/icons/$*.png"
|
||||
|
||||
uninstall-%:
|
||||
rm "$(target)$(bindir)/$*"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
*.6
|
||||
*.png
|
||||
freedm.adoc
|
||||
freedoom[12].adoc
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
man-%: freedoom.adoc
|
||||
sed -e s/freedoom/$*/ freedoom.adoc > $*.adoc
|
||||
a2x -f manpage $*.adoc
|
||||
|
||||
icon-freedm:
|
||||
convert -trim +repage -extent 32x32 -gravity center \
|
||||
-transparent \#00ffff -background \#00ffff \
|
||||
../graphics/stfkill3.gif freedm.png
|
||||
|
||||
icon-freedoom1:
|
||||
convert -trim +repage -extent 48x48 -gravity center \
|
||||
-transparent \#00ffff -background \#00ffff \
|
||||
../sprites/playa2a8.gif freedoom1.png
|
||||
|
||||
icon-freedoom2:
|
||||
convert -trim +repage -extent 64x64 -gravity center \
|
||||
-transparent \#00ffff -background \#00ffff \
|
||||
../sprites/heada1.gif freedoom2.png
|
Binary file not shown.
Before Width: | Height: | Size: 592 B |
Loading…
Reference in New Issue