diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -365,7 +365,12 @@ fxsdump: LDFLAGS+=-lm stackcheck: checkstack all ./checkstack *.ko */*.ko -README.html: README +zaptel.conf.asciidoc: zaptel.conf.sample + perl -n -e \ + 'if (/^#($$|\s)(.*)/){ if (!$$in_doc){print "\n"}; $$in_doc=1; print "$$2\n" } else { $$in_doc=0; print " $$_" }' \ + $< >$@ + +README.html: README zaptel.conf.asciidoc $(ASCIIDOC) -n -a toc $< xpp/README.Astribank.html: xpp/README.Astribank @@ -563,7 +568,7 @@ clean: rm -f ztcfg-shared fxstest rm -rf misdn* rm -rf mISDNuser* - rm -rf README.html xpp/README.Astribank.html + rm -rf README.html xpp/README.Astribank.html zaptel.conf.asciidoc .EXPORT_ALL_VARIABLES: |