equal
deleted
inserted
replaced
1 bin_SCRIPTS = test |
1 bin_SCRIPTS = test |
|
2 man_DATA = ME8100.3 |
2 |
3 |
3 .PHONY: all clean |
4 .PHONY: all clean |
4 |
5 |
5 all: $(bin_SCRIPTS) |
6 all: $(bin_SCRIPTS) $(man_DATA) |
6 clean: |
7 clean: |
7 -rm -f $(bin_SCRIPTS) |
8 -rm -f $(bin_SCRIPTS) $(man_DATA) |
8 |
9 |
9 test: test.pl ME8100.pm |
10 test: test.pl ME8100.pm |
10 |
11 |
11 %: %.pl |
12 %: %.pl Makefile |
12 perl -c $< |
13 perl -c $< |
13 cp -f $< $@ |
14 cp -f $< $@ |
14 chmod +x $@ |
15 chmod +x $@ |
|
16 |
|
17 %.3: %.pm Makefile |
|
18 pod2man --section 3 $< >$@ || rm $@ |
|
19 @test -f $@ |