You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2001/07/08 21:54:35 UTC
cvs commit: xml-xerces/c/src/validators Makefile.in
jberry 01/07/08 12:54:35
Modified: c/src/validators Makefile.in
Log:
Fix clean and distclean targets; broken because rm fails if passed no files
Revision Changes Path
1.5 +9 -0 xml-xerces/c/src/validators/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/validators/Makefile.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile.in 2001/07/06 17:12:09 1.4
+++ Makefile.in 2001/07/08 19:54:35 1.5
@@ -55,6 +55,9 @@
#
#
# $Log: Makefile.in,v $
+# Revision 1.5 2001/07/08 19:54:35 jberry
+# Fix clean and distclean targets; broken because rm fails if passed no files
+#
# Revision 1.4 2001/07/06 17:12:09 tng
# Automatic build of single-threaded library. By Martin Kalen.
#
@@ -134,7 +137,9 @@
clean::
@echo "Making clean in $(MODULE) ..."
+ifneq ($(addprefix $(XML_OBJ_DIR)/,$(VALIDATORS_CPP_OBJECTS)),)
$(RM2) $(addprefix $(XML_OBJ_DIR)/,$(VALIDATORS_CPP_OBJECTS))
+endif
cd common ; $(MAKE) $@ ; cd ..
cd datatype ; $(MAKE) $@ ; cd ..
cd DTD ; $(MAKE) $@ ; cd ..
@@ -145,8 +150,12 @@
distclean:: clean
$(RM) Makefile $(DEPFILE)
@echo "Removing all $(MODULE) header files ..."
+ifneq ($(addprefix $(XML_INC_DIR)/$(MODULE)/,$(VALIDATORS_CPP_PUBHEADERS)),)
$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/,$(VALIDATORS_CPP_PUBHEADERS))
+endif
+ifneq ($(addprefix $(XML_INC_DIR)/$(MODULE)/,$(VALIDATORS_C_FILES)),)
$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/,$(VALIDATORS_C_FILES))
+endif
cd common ; $(MAKE) $@ ; cd ..
cd datatype ; $(MAKE) $@ ; cd ..
cd DTD ; $(MAKE) $@ ; cd ..
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org