Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-16 21:01:09 -0500
committerDan McGee <dan@archlinux.org>2010-06-16 21:01:09 -0500
commit892266277ed437114080591882d06d5508b3fed7 (patch)
treedf1b4217eca084c3493083ab185c0190cc4fd07d /doc/Makefile.am
parent2ee186506c29b98d46420bc7d7b22c150b6cb71c (diff)
Fix distcheck invocation in doc/ directoryv3.4.0
Commit 5fe41df8 broke `make distcheck` pretty badly for the doc directory. Looking at what this commit was trying to accomplish, it make sense to revert a lot of the build system changes and just simplify what we are showing in the man page anyway- an example, not exactly how it is configured on your system. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am13
1 files changed, 2 insertions, 11 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d5b7aada..ad677391 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -66,12 +66,6 @@ else
REAL_PACKAGE_VERSION = $(PACKAGE_VERSION)
endif
-#### Taken from the autoconf scripts Makefile.am ####
-edit = sed \
- -e 's|@STRIP_BINARIES[@]|$(STRIP_BINARIES)|g' \
- -e 's|@STRIP_SHARED[@]|$(STRIP_SHARED)|g' \
- -e 's|@STRIP_STATIC[@]|$(STRIP_STATIC)|g'
-
man_MANS =
dist_man_MANS = $(ASCIIDOC_MANS) repo-remove.8
@@ -102,11 +96,8 @@ A2X_OPTS = \
--xsltproc-opts='-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0'
# These rules are due to the includes and files of the asciidoc text
-$(ASCIIDOC_MANS): asciidoc.conf footer.txt Makefile
- @echo GEN $@;
- @test -f $(srcdir)/$@.txt && $(edit) $(srcdir)/$@.txt >$@.tmp || true
- a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS)" $@.tmp
- @rm -f $@.tmp
+$(ASCIIDOC_MANS): asciidoc.conf footer.txt
+ a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS)" $@.txt
%.html: %.txt
asciidoc $(ASCIIDOC_OPTS) -a linkcss $*.txt