Description: Makes the Makefile more applicable to Debian.
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,14 @@
#
-PREFIX=/usr
-INSTALLPATH=${PREFIX}/share/games/fortunes/ru
-INSTALL?=/usr/bin/install -g 0 -o 0
+INSTALLPATH=${DESTDIR}/usr/share/games/fortunes/ru
all:
@echo type "make install"
+clean:
+ @echo Nothing to clean
+
install:
- ${INSTALL} -m 0755 -d ${DESTDIR}${INSTALLPATH}
- ${INSTALL} -m 644 acid_jack/* kaschey/* vekshin/* sony/* ${DESTDIR}${INSTALLPATH}
+ install -m 0755 -d ${INSTALLPATH}
+ cp --no-dereference acid_jack/* kaschey/* vekshin/* sony/* ${INSTALLPATH}