On Mar 25, 2007, at 1:41 PM, Klaas-Jan Stol via RT wrote:

hi, I'm maintaining compilers/pirc. The pirc.in file (from which the
Makefile is generated) does contain:

realclean: clean
    $(RM_RF) Makefile
    $(RM_RF) pirc$(EXE)

When I type 'make realclean' (in compilers/pirc dir.) it does delete the
Makefile.
I don't know what causes the problem you describe.


[I posted earlier to RT but it didn't show up on p-p (yet).]

Please try the patch attached.

It more closely follows the pattern in config/gen/makefiles/root.in -- specifically it categorizes your Makefile as a STICKY_FILE.

Index: config/gen/makefiles/root.in
===================================================================
--- config/gen/makefiles/root.in        (revision 17728)
+++ config/gen/makefiles/root.in        (working copy)
@@ -183,6 +183,7 @@
     compilers/past/Makefile \
     compilers/past-pm/Makefile \
     compilers/pge/Makefile \
+    compilers/pirc/Makefile \
     compilers/tge/Makefile \
     compilers/bcg/Makefile \
     compilers/json/Makefile \
Index: config/gen/makefiles/pirc.in
===================================================================
--- config/gen/makefiles/pirc.in        (revision 17728)
+++ config/gen/makefiles/pirc.in        (working copy)
@@ -79,7 +79,8 @@
     
 
 realclean: clean
-       $(RM_RF) Makefile
-       $(RM_RF) pirc$(EXE)
+       $(RM_RF) \
+    $(STICKY_FILES) \
+    pirc$(EXE)
 
 distclean: realclean

Reply via email to