[SCM] Installer for game data files branch, rott, updated. 86c4002c57b43957f8cf8278cce4edfecaf53bb3

Jon Dowland jmtd at debian.org
Wed Dec 16 17:34:51 UTC 2009


The following commit has been merged in the rott branch:
commit f21f74c03121681dfdac86b141c79b9cf23df229
Author: Jon Dowland <jmtd at debian.org>
Date:   Mon Dec 7 13:35:06 2009 +0000

    implement a 'rott-dirs' target, to create empty dirs that git won't preserve

diff --git a/Makefile b/Makefile
index ea5e61a..95dad34 100644
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,16 @@ default: rott-data_$(VERSION)_all.deb
 	make -f doom-common.mk IWAD=plutonia \
 		LONG="Final Doom: The Plutonia Experiment" VERSION=$(VERSION)
 
-rott-data_$(VERSION)_all.deb: rott-data/DEBIAN/control
+rott-data_$(VERSION)_all.deb: rott-data/DEBIAN/control rott-dirs
 	if [ `id -u` -eq 0 ]; then \
 		dpkg-deb -b rott-data $@ ; \
 	else \
 		fakeroot dpkg-deb -b rott-data $@; \
 	fi
 
+rott-dirs:
+	mkdir -p rott-data/usr/share/games/rott
+
 rott-data/DEBIAN/control: rott-data/DEBIAN/control.in
 	m4 -DPACKAGE=rott-data -DVERSION=$(VERSION) \
 		rott-data/DEBIAN/control.in > rott-data/DEBIAN/control
@@ -32,4 +35,4 @@ clean: rottclean
 	make -f doom-common.mk IWAD=plutonia \
 		LONG="Final Doom: The Plutonia Experiment" VERSION=$(VERSION) clean
 
-.PHONY: default clean rottclean
+.PHONY: default clean rottclean rott-dirs

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list