]> git.tuebingen.mpg.de Git - dss.git/blobdiff - Makefile
index.html: Move man page to separate web page.
[dss.git] / Makefile
index 46b9c8cf8d00e98f648b4d813fb2fe8c02c9202a..2db46b2ae6ffb8fd473679106a94ba867e043213 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,6 @@ $(PACKAGE): $(objs)
        $(call SAY, CC $<)
        $(CC) -c -o $@ $(DSS_CPPFLAGS) $(CPPFLAGS) $(DSS_CFLAGS) $(CFLAGS) \
                -MMD -MF $(*F).d -MT $@ $<
-
 .PHONY: all clean install README
 .PRECIOUS: %.lsg.c %.lsg.h %.suite %.1
 $(PACKAGE).suite: $(PACKAGE).suite.m4 Makefile
@@ -123,7 +122,7 @@ $(PACKAGE).suite: $(PACKAGE).suite.m4 Makefile
        $(GZIP) < $< > $@
 %.1.html: %.1
        $(call SAY, GROFF $<)
-       $(GROFF) $< | sed -e '1,/^<body>/d; /^<\/body>/,$$d' > $@
+       $(GROFF) $< > $@
 clean:
        $(call SAY, CLEAN)
        $(RM) *.[od] $(all) *.html $(PACKAGE).1 $(PACKAGE).suite \
@@ -163,7 +162,7 @@ README:
 index.html.in: index.html.m4
        $(call SAY, M4 $<)
        $(M4) $< > $@
-index.html: dss.1.html index.html.in INSTALL NEWS
+index.html: index.html.in INSTALL NEWS
        $(call SAY, MD $@)
        sed -e '/@README@/,$$d' index.html.in > $@
        printf '<p> %s </p>\n' "$(DESCRIPTION1)" >> $@
@@ -174,7 +173,5 @@ index.html: dss.1.html index.html.in INSTALL NEWS
        sed -e '1,/@NEWS@/d' -e '/@INSTALL@/,$$d' index.html.in >> $@
        markdown INSTALL >> $@
        sed -e '1,/@INSTALL@/d' -e '/@MAN_PAGE@/,$$d' index.html.in >> $@
-       cat dss.1.html >> $@
-       sed -e '1,/@MAN_PAGE@/d' index.html.in >> $@
 
 -include Makefile.local