Add commands to delete packaging files when appropriate.
authorChris Hanson <org/chris-hanson/cph>
Tue, 5 Dec 2000 22:56:56 +0000 (22:56 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 5 Dec 2000 22:56:56 +0000 (22:56 +0000)
v7/src/Makefile.std

index eb4baa75e996a1fac984c5dbbae2958d411313ed..6a1712e7e111ce094c7b6e34a616c89c9f9f6ca3 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.std,v 1.5 2000/12/05 22:45:39 cph Exp $
+# $Id: Makefile.std,v 1.6 2000/12/05 22:56:56 cph Exp $
 #
 # Copyright (c) 2000 Massachusetts Institute of Technology
 #
@@ -35,7 +35,16 @@ tags TAGS:
        etags *.scm
 
 mostlyclean:
-       rm -f *.bin *.ext *.com *.bci
+       rm -f *.bin *.ext *.com *.bci *.bco *.bld *.crf *.fre *.glo
+       @for FN in *.con; do \
+           test "${FN}" = "triv.con" \
+           || rm -f "${FN}"; \
+       done
+       @for FN in *.ldr; do \
+           test "${FN}" = "edwin.ldr" \
+           || test "${FN}" = "triv.ldr" \
+           || rm -f "${FN}"; \
+       done
 
 clean: mostlyclean