mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-03 10:25:46 -04:00
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.
This commit is contained in:
parent
522495f831
commit
f6fcee1600
4 changed files with 25 additions and 4 deletions
10
Makefile
10
Makefile
|
@ -135,13 +135,15 @@ waddir?=/share/games/doom
|
||||||
target=$(DESTDIR)$(prefix)
|
target=$(DESTDIR)$(prefix)
|
||||||
|
|
||||||
%.6:
|
%.6:
|
||||||
sed -e s/freedoom/$*/ dist/freedoom.adoc > dist/$*.adoc
|
$(MAKE) -C dist man-$*
|
||||||
a2x -f manpage dist/$*.adoc
|
|
||||||
|
%.png:
|
||||||
|
$(MAKE) -C dist icon-$*
|
||||||
|
|
||||||
# This is bad because it assumes the IWADs will always be defined like
|
# 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.
|
# 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 -d "$(target)$(bindir)"
|
||||||
install -m 755 dist/freedoom "$(target)$(bindir)/$*"
|
install -m 755 dist/freedoom "$(target)$(bindir)/$*"
|
||||||
install -d "$(target)$(mandir)/man6"
|
install -d "$(target)$(mandir)/man6"
|
||||||
|
@ -153,7 +155,7 @@ install-%: $(WADS)/%.wad %.6
|
||||||
install -d "$(target)/share/appdata"
|
install -d "$(target)/share/appdata"
|
||||||
install -m 644 dist/$*.appdata.xml "$(target)/share/appdata"
|
install -m 644 dist/$*.appdata.xml "$(target)/share/appdata"
|
||||||
install -d "$(target)/share/icons"
|
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-%:
|
uninstall-%:
|
||||||
rm "$(target)$(bindir)/$*"
|
rm "$(target)$(bindir)/$*"
|
||||||
|
|
1
dist/.gitignore
vendored
1
dist/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
*.6
|
*.6
|
||||||
|
*.png
|
||||||
freedm.adoc
|
freedm.adoc
|
||||||
freedoom[12].adoc
|
freedoom[12].adoc
|
||||||
|
|
18
dist/Makefile
vendored
Normal file
18
dist/Makefile
vendored
Normal file
|
@ -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
|
BIN
dist/freedoom.png
vendored
BIN
dist/freedoom.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 592 B |
Loading…
Add table
Add a link
Reference in a new issue