diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-06-07 18:32:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-06-07 18:32:44 +0000 |
commit | 0ea00927f0690865c4b2c899bd6bad6cbbdd87f6 (patch) | |
tree | b0e63f3c2cdd85121f406ee084b12c3d9560ead5 /Makefile | |
parent | c2ef129b23220c1d0dfd6d6bde9f645687b9e0c4 (diff) | |
download | drakmenustyle-0ea00927f0690865c4b2c899bd6bad6cbbdd87f6.tar drakmenustyle-0ea00927f0690865c4b2c899bd6bad6cbbdd87f6.tar.gz drakmenustyle-0ea00927f0690865c4b2c899bd6bad6cbbdd87f6.tar.bz2 drakmenustyle-0ea00927f0690865c4b2c899bd6bad6cbbdd87f6.tar.xz drakmenustyle-0ea00927f0690865c4b2c899bd6bad6cbbdd87f6.zip |
reimport drakmenustyle in SVN as of 0.5
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7bd892f --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +VERSION = 0.5 +NAME = drakmenustyle +SUBDIRS = po +localedir = $(DESTDIR)/usr/share/locale +RPM=$(HOME)/rpm +mcc_dir = $(DESTDIR)/usr/share/mcc + +override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\" + +all: + for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + +clean: + $(MAKE) -C po $@ + rm -f *~ core .#*[0-9] core.* *.bak + for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + +install: all + $(MAKE) -C po $@ + install -d $(DESTDIR)/usr/{bin/,share/icons} + install -m755 $(NAME) $(DESTDIR)/usr/bin/$(NAME) + for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + +dis: clean + rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* + svn export -q . $(NAME)-$(VERSION) + find $(NAME)-$(VERSION) -name '*.pl' -o -name drakmenustyle | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g' + tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) + rm -rf $(NAME)-$(VERSION) + +changelog: + svn2cl --strip-prefix=soft/drakmenustyle/trunk/ --authors ../common/username.xml --accum + rm -f ChangeLog.bak + + +log: changelog |