[SCM] Packaging for fairymax branch, master, updated. debian/4.8j-1-15-g373929d
Vincent Legout
vincent at legout.info
Thu Oct 1 03:10:49 UTC 2009
The following commit has been merged in the master branch:
commit 0b9e727297ee6ee0741abae42da340a9a9aed73c
Author: Vincent Legout <vincent at legout.info>
Date: Tue Sep 29 15:19:12 2009 +0800
Update debian/rules
diff --git a/debian/changelog b/debian/changelog
index 18bb8fd..51aae56 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ fairymax (4.8m-1) unstable; urgency=low
* debian/fairymax.docs: Updated
* debian/fairymax.manpages: Updated
* debian/fairymax.6: Dropped, integrated upstream
+ * debian/rules: Updated
-- Vincent Legout <vincent at legout.info> Tue, 29 Sep 2009 13:17:55 +0800
diff --git a/debian/rules b/debian/rules
index 9f8fed2..9c0f2bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,28 +1,19 @@
#!/usr/bin/make -f
-CFLAGS += -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
%:
dh --with quilt $@
-override_dh_auto_build:
- $(CC) $(CFLAGS) fairymax.c -o fairymax
- $(CC) $(CFLAGS) fairymax.c -DSHATRANJ -o shamax
- $(CC) $(CFLAGS) maxqi.c -o maxqi
+override_dh_auto_configure:
+ gzip -cd changelog.gz > Changelog
+ gzip -cd fairymax.6.gz > fairymax.6
+ sed -i "s/FMAX.6 1/FMAX.6 6/" fairymax.6
override_dh_auto_clean:
- $(RM) fairymax shamax maxqi
+ dh_auto_clean
+ $(RM) -f fairymax.6 Changelog
-VERSION=4.8j
+VERSION=4.8m
get-orig-source:
- wget -c http://home.hccnet.nl/h.g.muller/fairy.zip
- unzip fairy.zip
- mv Fairy-Max fairymax-$(VERSION)
- tar cvfz fairymax_$(VERSION).orig.tar.gz fairymax-$(VERSION)
- $(RM) -r fairymax-$(VERSION) fairy.zip
+ wget -c http://home.hccnet.nl/h.g.muller/fairymax.tar.gz
+ mv fairymax.tar.gz fairymax_$(VERSION).orig.tar.gz
--
Packaging for fairymax
More information about the Pkg-games-commits
mailing list