$(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
$(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 \
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)" >> $@
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
[<a href="#news">NEWS</a>]
[<a href="#install">INSTALL</a>]
[<a href="#resources">Resources</a>]
- [<a href="#manpage">Man page</a>]
<hr>
<li> <code>git clone CLONE_URL()</code> </li>
<li> <a href="GITWEB_URL()">Gitweb</a> </li>
<li> <a href="HOME_URL()">Author home page</a> </li>
+ <li> <a href="PACKAGE().1.html">manual page</a> </li>
<li> Contact: <a href="mailto:EMAIL()">AUTHOR() <EMAIL()></a> </li>
<li> License: <a href="LICENSE_URL()">LICENSE()</a> </li>
</ul>
-
- <hr>
-
- <center>
- <h2>
- <a name="manpage">Man page</a>
- </h2>
- </center>
-
- @MAN_PAGE@
-
</body> </html>