clean python and perl, even if not built
authorDavid Schleef <ds@schleef.org>
Tue, 10 Jul 2001 22:33:05 +0000 (22:33 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 10 Jul 2001 22:33:05 +0000 (22:33 +0000)
Makefile

index 425485084c8a4397b53513e5621a0c2559613d50..0ac279152a5ec6fe552c6193190c2872a00bfe47 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,12 +99,9 @@ subdirs:     dummy
 
 clean: dummy
        set -e;for i in $(SUBDIRS);do ${MAKE} clean -C $$i ; done
-ifeq ($(with_python),yes)
+       # These will fail if nothing was built, but that's not a problem
        -$(MAKE) -C python distclean
-endif
-ifeq ($(with_perl),yes)
        -$(MAKE) -C perl distclean
-endif
 
 distclean:     clean