diff options
author | Mystery Man <unknown@mandriva.org> | 2005-09-01 20:27:41 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-09-01 20:27:41 +0000 |
commit | f027d873e1c6f4b372b541cc351c71820a9063cd (patch) | |
tree | 4c1914e76177c18cf0a45829bbdf7eb0a92c2435 /globetrotter/Makefile | |
parent | 5d83bfe6f6b331df65d493a78e9ed2f1b30a2464 (diff) | |
download | drakx-backup-do-not-use-10_3_0_51mdk.tar drakx-backup-do-not-use-10_3_0_51mdk.tar.gz drakx-backup-do-not-use-10_3_0_51mdk.tar.bz2 drakx-backup-do-not-use-10_3_0_51mdk.tar.xz drakx-backup-do-not-use-10_3_0_51mdk.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_51mdk
'V10_3_0_51mdk'.
Diffstat (limited to 'globetrotter/Makefile')
-rw-r--r-- | globetrotter/Makefile | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/globetrotter/Makefile b/globetrotter/Makefile deleted file mode 100644 index d6a0756cd..000000000 --- a/globetrotter/Makefile +++ /dev/null @@ -1,97 +0,0 @@ -PACKAGE=mandrake-globetrotter -PKGVERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec|head -n 1) -RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec|head -n 1) -TAG := $(shell echo "V$(PKGVERSION)_$(RELEASE)" | tr -- '-.' '__') - -DIRS=share/po -PREFIX = - -SBINDIR = $(PREFIX)/usr/sbin -LIBDIR = $(PREFIX)/usr/lib -LIBDEST = $(LIBDIR)/libDrakX -DATADIR = $(PREFIX)/usr/share - -LANG_FILES = pixmaps/langs -DISTFILES = hwprofile *.spec share/po/*.po share/po/Makefile Makefile Makefile.config *.pm runstage2 $(LANG_FILES) - -.PHONY: all install clean - -all: - rm -f share/po/DrakX.pot # force rebuild of po's - make -C share/po mofiles - - -localcopy: clean - cd .. ; rm -rf $(PACKAGE)-$(PKGVERSION) ; cp -af globetrotter $(PACKAGE)-$(PKGVERSION) - # include pixmaps for language selector: - mkdir ../$(PACKAGE)-$(PKGVERSION)/{pixmaps,share} - cp -af ../perl-install/pixmaps/langs ../$(PACKAGE)-$(PKGVERSION)/pixmaps/langs - # include drakx modules for first time wizard : - # cp -af ../perl-install/share/po ../$(PACKAGE)-$(PKGVERSION)/share/ - mkdir ../$(PACKAGE)-$(PKGVERSION)/share/po - # cp -af ../perl-install/share/po/{fr.po,Makefile,i18n_compssUsers} ../$(PACKAGE)-$(PKGVERSION)/share/po - cp -af ../perl-install/share/po/{*.po,Makefile} ../$(PACKAGE)-$(PKGVERSION)/share/po - # enable fast build: - perl -pi -e 's!^.*msgmerge.*\n!!' ../$(PACKAGE)-$(PKGVERSION)/share/po/Makefile - cp -af ../perl-install/{help,pkgs,install*}.pm ../$(PACKAGE)-$(PKGVERSION)/ - echo 'ALLPMS = *.pm' > ../$(PACKAGE)-$(PKGVERSION)/Makefile.config - @make nuke_perl - - -install: - install -d $(LIBDEST) $(DATADIR)/libDrakX/pixmaps/langs $(SBINDIR) - install -m 644 *.pm $(LIBDEST) - install -m 755 runstage2 $(SBINDIR)/mdkmove - cp -f pixmaps/langs/lang-*.png $(DATADIR)/libDrakX/pixmaps/langs - $(MAKE) -C share/po install PREFIX=$(PREFIX) SUDO= DATADIR=$(DATADIR) NAME=libDrakX2 -# %make -C po install SUDO= NAME=libDrakX2 LOCALEDIR=$(DEST)/usr/share/locale_special - - -rpm: localrpm -localrpm: localdist buildrpm - -srpm: localsrpm -localsrpm: spec_test localdist buildsrpm - -localdist: cleandist localcopy tar - -cleandist: - rm -rf ../$(PACKAGE)-$(PKGVERSION) ../$(PACKAGE)-$(PKGVERSION).tar.bz2 - -spec_test: - @if [[ -z "$(PKGVERSION)" ]]; then echo "unable to get spec version"; exit 3;fi - @if [[ -z "$(RELEASE)" ]]; then echo "unable to get spec release"; exit 2;fi - -tar: - cd ../$(PACKAGE)-$(PKGVERSION) && rm -rf debug.log `find -name CVS` - cd ..; tar cfj $(PACKAGE)-$(PKGVERSION).tar.bz2 $(patsubst %,$(PACKAGE)-$(PKGVERSION)/%,$(DISTFILES)) - #cd ..; rm -rf $(PACKAGE)-$(PKGVERSION) - -buildrpm: - rpm -ta ../$(PACKAGE)-$(PKGVERSION).tar.bz2 - -buildsrpm: - rpm -ts --nodeps ../$(PACKAGE)-$(PKGVERSION).tar.bz2 - -# rules to build a distributable rpm - -dist: cleandist export tar - -export: - cd ..; cvs export -d $(PACKAGE)-$(PKGVERSION) -r $(TAG) $(PACKAGE) - cd ../$(PACKAGE)-$(PKGVERSION) - cd ..; - @make nuke_perl - -nuke_perl: - find ../$(PACKAGE)-$(PKGVERSION) -name '*.pm' | xargs perl -pi -e 's/\s*use\s+(diagnostics|strict|vars|warnings).*//g' - -img: - /usr/bin/lilo-bmp2mdk mode:0x103 progress:397,190,14,6,64+8 clear:600,800,64+8 pos:0,0 < BOOTGTROTTER-install-lilo-8bis.bmp > isolinux_boot.msg - -.PHONY: log changelog - -log: changelog - -changelog: - cvs2cl --accum -W 400 -U ../../soft/common/username -F TRUNK |