libafs-tree-clean-target-20090221
authorRuss Allbery <rra@stanford.edu>
Sat, 21 Feb 2009 20:51:08 +0000 (20:51 +0000)
committerRuss Allbery <rra@stanford.edu>
Sat, 21 Feb 2009 20:51:08 +0000 (20:51 +0000)
LICENSE IPL10

Add clean and distclean targets to the libafs_tree Makefile, based on
suggestions by jhutz.

Makefile-libafs.in

index 64f7884..8ef8aba 100644 (file)
@@ -7,3 +7,10 @@
 
 all: 
        cd src && cd libafs && $(MAKE)
+
+clean:
+       cd src && cd libafs && $(MAKE) clean
+
+distclean: clean
+       rm -f Makefile src/config/Makefile.config src/config/Makefile.version \
+               src/libafs/Makefile.common src/libafs/Makefile