summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 15:08:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 15:08:17 +0000
commit1a06fa7e4a300880848047118f0adba68d38348d (patch)
treee6b01d6f4feae969f9905d5245648532db254c42 /Makefile
parente895f6b48826f09aeaada321d03a1d10548fc9ce (diff)
downloadperl-MDK-Common-1a06fa7e4a300880848047118f0adba68d38348d.tar
perl-MDK-Common-1a06fa7e4a300880848047118f0adba68d38348d.tar.gz
perl-MDK-Common-1a06fa7e4a300880848047118f0adba68d38348d.tar.bz2
perl-MDK-Common-1a06fa7e4a300880848047118f0adba68d38348d.tar.xz
perl-MDK-Common-1a06fa7e4a300880848047118f0adba68d38348d.zip
re-sync after the big svn loss
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile69
1 files changed, 0 insertions, 69 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index fb060b6..0000000
--- a/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-RPM ?= $(HOME)/rpm
-
-PREFIX = /usr
-BINDIR = $(PREFIX)/bin
-VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
-INSTALLVENDORLIB = $(DESTDIR)$(VENDORLIB)
-PERL_CHECKER_TARGET = native-code
-PERL_CHECKER_VERSION = 1.1.27
-
-FILES-perl_checker = AUTHORS COPYING README.emacs Makefile misc perl_checker.spec perl_checker.src perl_checker_fake_packages
-
-.PHONY: perl_checker.src
-
-all: perl_checker.src/perl_checker test
-
-MDK/Common.pm: %: %.pl
- perl $< > $@
-
-perl_checker.src/perl_checker:
- $(MAKE) -C perl_checker.src build_ml perl_checker.html $(PERL_CHECKER_TARGET) VENDORLIB=$(VENDORLIB) DEBUG=0
-
-test: perl_checker.src/perl_checker
- $(MAKE) -C perl_checker.src/test
-
-clean:
- rm -f Makefile-MDK-Common MDK/Common.pm perl_checker.src/perl_checker *.tar.* .perl_checker.cache lib
- $(MAKE) -C perl_checker.src clean
- find -name "*~" | xargs rm -rf
-
-install: clean all
- $(MAKE) -C misc install
- install perl_checker.src/perl_checker $(DESTDIR)$(BINDIR)
- install -d $(INSTALLVENDORLIB)
- tar c `find perl_checker_fake_packages -name "*.pm"` | tar xC $(INSTALLVENDORLIB)
-
-update:
- cvs update
-
-commit:
- cvs commit
-
-tar: clean
- mkdir -p perl_checker-$(PERL_CHECKER_VERSION)
- tar c --exclude CVS $(FILES-perl_checker) | tar xC perl_checker-$(PERL_CHECKER_VERSION)
- tar cfj perl_checker-$(PERL_CHECKER_VERSION).tar.bz2 perl_checker-$(PERL_CHECKER_VERSION)
- rm -rf perl_checker-$(PERL_CHECKER_VERSION)
-
-srpm: tar
- cp -f perl_checker*.tar.* $(RPM)/SOURCES
- cat perl_checker.spec > $(RPM)/SPECS/perl_checker.spec
- -rpmbuild -bs $(RPM)/SPECS/perl_checker.spec
-
-rpm: update srpm
- -rpmbuild -bb $(RPM)/SPECS/perl_checker.spec
-
-
-Makefile-MDK-Common:
- MAKEFILE_NAME=Makefile-MDK-Common perl Makefile.PL
-
-tar-MDK-Common: clean Makefile-MDK-Common
- $(MAKE) -f Makefile-MDK-Common dist
-
-srpm-MDK-Common: tar-MDK-Common
- cp -f MDK-Common*.tar.* $(RPM)/SOURCES
- perl -I. -MMDK::Common -pe 's/THEVERSION/$$MDK::Common::VERSION/' perl-MDK-Common.spec > $(RPM)/SPECS/perl-MDK-Common.spec
- -rpmbuild -bs $(RPM)/SPECS/perl-MDK-Common.spec
-
-rpm-MDK-Common: srpm-MDK-Common
- -rpmbuild -bb $(RPM)/SPECS/perl-MDK-Common.spec