"Fossies" - the Fresh Open Source Software Archive

Member "html2sgml-0.3/Makefile" (26 Aug 1997, 1123 Bytes) of package /linux/misc/old/html2sgml-0.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Makefile for installation of html2sgml, require perl
    2 # Peter Antman, 1997.
    3 SHELL = /bin/sh
    4 
    5 VERSION = html2sgml-0.3
    6 
    7 srcdir = .
    8 prefix = /usr/local
    9 exec_prefix = ${prefix}
   10 
   11 bindir = ${exec_prefix}/bin
   12 docdir = ${prefix}/doc/${VERSION}
   13 mandir = ${prefix}/man
   14 extrasdir = ${docdir}/extras
   15 
   16 
   17 INSTALL = /usr/bin/install  
   18 INSTALL_PROGRAM = ${INSTALL} -c
   19 INSTALL_DATA = ${INSTALL} -c -m0644
   20 INSTALL_DIR = ${INSTALL} -d
   21 
   22 PERL = /usr/bin/perl
   23 
   24 BIN = html2sgml mkbook
   25 DOC = html2sgml.sgml html2sgml.txt html2sgml.html html2sgml-1.html html2sgml-2.html
   26 EXTRAS = merg jargonmerg htmlmerg
   27 
   28 
   29 install:
   30 	@for i in $(BIN) ;\
   31 	do \
   32 	(	echo "installing $$i"; \
   33 		echo "#!$(PERL)" > $(srcdir)/$$i; \
   34 		cat $(srcdir)/$$i.in >> $(srcdir)/$$i; \
   35 		$(INSTALL_PROGRAM) $$i $(bindir)); \
   36 	done;
   37 	$(INSTALL_DIR) $(docdir)
   38 	@for i in $(DOC) ; \
   39 	do \
   40 	(	echo "installing $$i"; \
   41 		$(INSTALL_DATA) $(srcdir)/doc/$$i $(docdir)); \
   42 	done;
   43 	$(INSTALL_DIR) $(extrasdir)
   44 	@for i in $(EXTRAS) ;\
   45 	do \
   46 	( 	echo "installing $$i"; \
   47 		$(INSTALL_PROGRAM) $(srcdir)/extras/$$i $(extrasdir)); \
   48 	done;
   49 	$(INSTALL_DATA) $(srcdir)/html2sgml.1 $(mandir)/man1
   50