git.annexia.org
/
miniexpect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b60081
)
clean: Remove miniexpect.3 if we have pod2man, otherwise leave it.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2014 11:03:55 +0000
(12:03 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2014 11:03:55 +0000
(12:03 +0100)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
6139816
..
d6e0a24
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-45,11
+45,18
@@
test_spawn_SOURCES = test-spawn.c
test_spawn_CFLAGS = $(PCRE_CFLAGS) -Wall
test_spawn_LDADD = libminiexpect.la
+# Clean.
+
+CLEANFILES = *~
+
# Man pages.
man_MANS = miniexpect.3
if HAVE_POD2MAN
+
+CLEANFILES += miniexpect.3
+
miniexpect.3: miniexpect.pod
$(POD2MAN) \
--section 3 \
@@
-57,8
+64,5
@@
miniexpect.3: miniexpect.pod
-c "Library functions" \
$< > $@-t
mv $@-t $@
-endif
-
-# Clean.
-CLEANFILES = *~
+endif