changeset 30 | 4e4d4b59a0af |
parent 28 | df25c194e3ce |
--- a/me8100_test_perl/Makefile Mon Jan 28 16:33:37 2002 +0100 +++ b/me8100_test_perl/Makefile Mon Jan 28 17:18:06 2002 +0100 @@ -1,14 +1,19 @@ bin_SCRIPTS = test +man_DATA = ME8100.3 .PHONY: all clean -all: $(bin_SCRIPTS) +all: $(bin_SCRIPTS) $(man_DATA) clean: - -rm -f $(bin_SCRIPTS) + -rm -f $(bin_SCRIPTS) $(man_DATA) test: test.pl ME8100.pm -%: %.pl +%: %.pl Makefile perl -c $< cp -f $< $@ chmod +x $@ + +%.3: %.pm Makefile + pod2man --section 3 $< >$@ || rm $@ + @test -f $@