Makefile
changeset 41 7a69721f5d25
parent 30 226adc8116b3
child 44 3d3135992e11
equal deleted inserted replaced
40:297b304e1073 41:7a69721f5d25
    12 install:	all
    12 install:	all
    13 	install -d -m 0755 $(DESTDIR)/$(sysconfdir)
    13 	install -d -m 0755 $(DESTDIR)/$(sysconfdir)
    14 	tools/chkconfig $(DESTDIR)/$(sysconfigdir)/config.pm \
    14 	tools/chkconfig $(DESTDIR)/$(sysconfigdir)/config.pm \
    15 		&& install -m 644 config.pm $(DESTDIR)/$(sysconfdir)/config.pm
    15 		&& install -m 644 config.pm $(DESTDIR)/$(sysconfdir)/config.pm
    16 	tools/signconfig $(DESTDIR)/$(sysconfdir)/config.pm
    16 	tools/signconfig $(DESTDIR)/$(sysconfdir)/config.pm
    17 	install -d -m 0755 $(bindir)
    17 	install -d -m 0755 $(DESTDIR)/$(bindir)
    18 	install -m 0755 $(bin_SCRIPTS) $(DESTDIR)/$(bindir)/
    18 	install -m 0755 $(bin_SCRIPTS) $(DESTDIR)/$(bindir)/
    19 
    19 
    20 	install -d -m 0755 $(DESTDIR)/usr/share/perl5/Logbuch
    20 	install -d -m 0755 $(DESTDIR)/usr/share/perl5/Logbuch
    21 	install -m 0644 Logbuch/HG.pm $(DESTDIR)/usr/share/perl5/Logbuch/
    21 	install -m 0644 Logbuch/HG.pm $(DESTDIR)/usr/share/perl5/Logbuch/
    22 
    22 
    25 clean:
    25 clean:
    26 	-rm -f $(bin_SCRIPTS)
    26 	-rm -f $(bin_SCRIPTS)
    27 
    27 
    28 check:
    28 check:
    29 	@-rm -f .e
    29 	@-rm -f .e
    30 	@cat modules | while read; do \
    30 	@cat modules | while read REPLY; do \
    31 		perl -M$$REPLY -e 'print " $$'"$$REPLY"'::VERSION\n"' &>/dev/null \
    31 		perl -M$$REPLY -e '' && continue; \
    32 		&& continue; \
       
    33 		echo "MISSING perl library: \"$$REPLY\""; \
    32 		echo "MISSING perl library: \"$$REPLY\""; \
    34 		touch .e; \
    33 		touch .e; \
    35 	done
    34 	done
    36 	@rm .e 2>/dev/null && false || true
    35 	@rm .e 2>/dev/null && false || true
    37 
    36