Просмотр исходного кода

* Makefile.am: Add *clean-local targets to take care of the
samba directory.

Pavel Roskin 23 лет назад
Родитель
Сommit
1dcc3e89bc
2 измененных файлов с 18 добавлено и 0 удалено
  1. 3 0
      vfs/ChangeLog
  2. 15 0
      vfs/Makefile.am

+ 3 - 0
vfs/ChangeLog

@@ -1,5 +1,8 @@
 2001-01-02  Pavel Roskin  <proski@gnu.org>
 
+	* Makefile.am: Add *clean-local targets to take care of the
+	samba directory.
+
 	* samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
 	this setting is not inherited from the top-level configure.
 

+ 15 - 0
vfs/Makefile.am

@@ -55,6 +55,21 @@ dist-hook:
 	  cp -p $(srcdir)/samba/$$I $(distdir)/samba/$$I || exit 1; \
 	done
 
+mostlyclean-local:
+	if test -f samba/Makefile; then \
+	  (cd samba && $(MAKE) mostlyclean) \
+	else :; fi
+
+clean-local:
+	if test -f samba/Makefile; then \
+	  (cd samba && $(MAKE) clean) \
+	else :; fi
+
+distclean-local:
+	if test -f samba/Makefile; then \
+	  (cd samba && $(MAKE) distclean) \
+	else :; fi
+
 if USE_VFS
 noinst_LIBRARIES = libvfs-mc.a
 else