[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sgml-tools.1.15 patch




> Sometime ago, a patch for the sgml-tools.1.15/Makefile was posted.  In 
> an effort to clean up my disk, I zapped the patch.

Here it is.

Problems:
	* missing "endif" in Makefile
	* sgmlpre is not compiled (but it is installed)
	* rtf-fix (rtftortf) is not there but is installed
	- zillions of warnings and such, but that's how the package is :-(

Fix to "*" above:

--- ./Makefile.in.orig	Mon Oct 25 00:59:18 1999
+++ ./Makefile.in	Mon Oct 25 01:15:48 1999
@@ -31,6 +31,7 @@
 OPTIMIZE=-O
 
 all: gen
+	$(MAKE) -C sgmlpre sgmlpre
 ifeq ($(BUILD_SGMLSASP), true)
 	@echo "Compiling the SGML parsing tools (in sgmls-1.1/)..."
 	( cd sgmls-1.1 ; \
@@ -45,6 +46,7 @@
 	@echo "Building Entity Mapping library (in entity-map)..."
 	( cd entity-map ; \
 	  $(MAKE) )
+endif
 install::
 	@echo "Installing binaries in $(bindir) ..."
 	if [ ! -d $(bindir) ]; then mkdir -p $(bindir); fi
@@ -66,7 +68,7 @@
 	  $(MAKE) install )
 endif
 	strip sgmlpre/sgmlpre
-	for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \
+	for ii in sgmlpre/sgmlpre; do \
 	  bn=`basename $$ii`; \
 	  $(INSTALL_PROGRAM) $$ii $(bindir)/$$bn; \
 	done
@@ -123,7 +125,7 @@
 
 clean::
 	-rm -f *~ bin/*~
-	for d in $(DDIRS) $(MDIRS) rtf-fix; do $(MAKE) -C $$d clean; done
+	for d in $(DDIRS) $(MDIRS); do $(MAKE) -C $$d clean; done
 	(cd sgmlpre ; rm -f sgmlpre.o sgmlpre)
 
 distclean:: clean


--  
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org