]> git.pld-linux.org Git - packages/battleships.git/commitdiff
- DESTDIR support for battleships
authorAdam Gołębiowski <adamg@pld-linux.org>
Thu, 25 Dec 2003 10:46:32 +0000 (10:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    battleships-DESTDIR.patch -> 1.1

battleships-DESTDIR.patch [new file with mode: 0644]

diff --git a/battleships-DESTDIR.patch b/battleships-DESTDIR.patch
new file mode 100644 (file)
index 0000000..12dafad
--- /dev/null
@@ -0,0 +1,23 @@
+--- bs-2.5/Makefile.orig       2003-12-25 11:28:35.000000000 +0100
++++ bs-2.5/Makefile    2003-12-25 11:31:07.000000000 +0100
+@@ -6,6 +6,9 @@
+ TERMLIB = -lncurses
+ CC = gcc
++# DESTDIR support
++DESTDIR = 
++
+ bs: bs.c
+       $(CC) $(CFLAGS) -o bs bs.c $(TERMLIB)
+@@ -16,8 +19,8 @@
+       rm -f bs bs.6 bs*.tar.gz bs*.rpm *~
+ install: bs.6 uninstall
+-      cp bs /usr/bin
+-      cp bs.6 /usr/share/man/man6/bs.6
++      cp bs $(DESTDIR)/usr/bin
++      cp bs.6 $(DESTDIR)/usr/share/man/man6/bs.6
+ uninstall:
+       rm -f /usr/bin/bs /usr/share/man/man6/bs.6
This page took 0.128231 seconds and 4 git commands to generate.