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)
