chiark / gitweb /
tidying
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 00:34:02 +0000 (00:34 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 00:34:02 +0000 (00:34 +0000)
subdirmk/NOTES [moved from NOTES with 100% similarity]
subdirmk/generate
subdirmk/regen.mk.in

similarity index 100%
rename from NOTES
rename to subdirmk/NOTES
index 312b488..ea12a1f 100755 (executable)
@@ -1,12 +1,16 @@
 #!/usr/bin/perl -w
 #
-# $(srcdir)/build-aux/subdirmk-setup SUBDIR...
+# $(srcdir)/subdirmk/generate [--srcdir=SRCDIR] SUBDIR...
 #
-# generates
-#   main.mk.tmp
-# and in each subdirectory
+# generates in each subdirectory
 #   Subdir.mk.tmp
 #   Makefile
+# and in toplevel
+#   main.mk.tmp
+# from in each subdirectory
+#   Subdir.mk.in
+# and at toplevel
+#   Perdir.mk.in
 
 use strict;
 
index 1c3d580..f0f60bb 100644 (file)
@@ -22,3 +22,9 @@ makefiles.phantom:                                            \
                $(top_srcdir)/Perdir.mk.in                      \
                $(foreach m,$(MAKEFILES),$(top_srcdir)/$(m).in)
        ./$(CONFIG_STATUS)
+
+realclean: clean
+       $(RM) config.status config.log
+       $(RM) main.mk $(MAKEFILES)
+
+-include $(ALL_DEPFILES)