Author: Andreas Tille <tille@debian.org>
Forwarded: No
Description: Debian keeps the font files in a different location than normal installer;
 distclean target needed by cdbs was missing
License: see debian/copyright
--- phylip-3.67.orig/src/Makefile
+++ phylip-3.67/src/Makefile
@@ -45,6 +45,7 @@
 #
 # the following specifies the directory where the executables will be placed
 EXEDIR  = ../exe
+DATADIR = ../exe
 #
 # ----------------------------------------------------------------------------
 #
@@ -189,8 +190,10 @@
 	@echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
 	@mkdir -p $(EXEDIR)
 	@cp $(PROGS) $(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 ""
 
@@ -207,6 +210,13 @@
 	@echo "Finished cleanup."
 	@echo ""
 
+distclean:
+	@make 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)
