git.annexia.org
/
miniexpect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean: Remove miniexpect.3 if we have pod2man, otherwise leave it.
[miniexpect.git]
/
Makefile.am
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
test_spawn_CFLAGS = $(PCRE_CFLAGS) -Wall
test_spawn_LDADD = libminiexpect.la
+# Clean.
+
+CLEANFILES = *~
+
# Man pages.
man_MANS = miniexpect.3
if HAVE_POD2MAN
# Man pages.
man_MANS = miniexpect.3
if HAVE_POD2MAN
+
+CLEANFILES += miniexpect.3
+
miniexpect.3: miniexpect.pod
$(POD2MAN) \
--section 3 \
miniexpect.3: miniexpect.pod
$(POD2MAN) \
--section 3 \
@@
-57,8
+64,5
@@
miniexpect.3: miniexpect.pod
-c "Library functions" \
$< > $@-t
mv $@-t $@
-c "Library functions" \
$< > $@-t
mv $@-t $@
-endif
-
-# Clean.
-CLEANFILES = *~
+endif