diff options
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -5,13 +5,24 @@ PREFIX = /usr BINDIR = $(PREFIX)/bin INSTALLSITEARCH = $(shell eval "`perl -V:installsitelib`"; echo $$installsitelib | sed 's,/usr,$(PREFIX),') +GENERATED = MDK/Common.pm index.html + +all: $(GENERATED) test + +index.html: MDK/Common.pm + pod2html $< > $@ + +MDK/Common.pm: %: %.pl + perl $< > $@ + test: ./perl_checker MDK/Common/*.pm clean: + rm -f $(GENERATED) find -name "*~" | xargs rm -rf -install: clean test +install: clean all install -d $(BINDIR) $(INSTALLSITEARCH)/MDK/Common install perl_checker $(BINDIR) install -m 644 MDK/Common.pm $(INSTALLSITEARCH)/MDK |