1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
Author: Andreas Tille <tille@debian.org>
Forwarded: No
Description: Debian keeps the font files in a different location than normal installer;
distclean target makes sure everything will be cleaned up
--- phylip-3.696.orig/src/Makefile.unx
+++ phylip-3.696/src/Makefile.unx
@@ -51,6 +51,7 @@
#
# the following specifies the directory where the executables will be placed
EXEDIR = ../exe
+DATADIR = ../exe
#
# ----------------------------------------------------------------------------
#
@@ -228,8 +229,10 @@
@cp $(DYLIBS) $(EXEDIR)
@echo "Installing jar files in $(EXEDIR)"
@cp $(JARS) $(EXEDIR)
- @echo "Installing font files in $(EXEDIR)"
- @cp font* $(EXEDIR)
+ @echo "Installing font files in $(DATADIR)"
+ @mkdir -p $(DATADIR)
+ @cp font* $(DATADIR)
+ @cd $(DATADIR) && ln -s font1 fontfile
@echo "Finished installation."
@echo ""
@@ -246,6 +249,12 @@
@echo "Finished cleanup."
@echo ""
+distclean: clean
+ @echo "Removing executables"
+ @rm -rf $(EXEDIR)/* $(DATADIR)/*
+ @echo "Finaly removed all executable files."
+ @echo ""
+
#
# compile object files shared between programs
# (make's implicit rule for %.o will take care of these)
|