summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-06-07 16:02:15 +0000
committerThierry Vignaud <tv@mandriva.org>2007-06-07 16:02:15 +0000
commitcc5f8d577e39bc1cb8f39aa1f23f13a3f5909248 (patch)
treeeb6c3f569bf5e1d9f735caf0780ee480814c539a /Makefile
parent8eab82c7e403c4a4da83bb359cb8ec6b6ba2eeed (diff)
downloadcontrol-center-cc5f8d577e39bc1cb8f39aa1f23f13a3f5909248.tar
control-center-cc5f8d577e39bc1cb8f39aa1f23f13a3f5909248.tar.gz
control-center-cc5f8d577e39bc1cb8f39aa1f23f13a3f5909248.tar.bz2
control-center-cc5f8d577e39bc1cb8f39aa1f23f13a3f5909248.tar.xz
control-center-cc5f8d577e39bc1cb8f39aa1f23f13a3f5909248.zip
sync with latest SVN snapshot before SVN crash
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 3 insertions, 23 deletions
diff --git a/Makefile b/Makefile
index 4a746c23..13144add 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
-VERSION = $(shell awk '/Version:[ ]*(.*)/ { print $$2 }' $(NAME).spec)
+VERSION = 10.4.19
NAME = drakconf
SUBDIRS = po pixmaps data
localedir = $(DESTDIR)/usr/share/locale
-RPM=$(HOME)/rpm
mcc_dir = $(DESTDIR)/usr/share/mcc
override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
@@ -35,32 +34,13 @@ install: all
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
- mkdir -p $(NAME)-$(VERSION)
- find . -not -name "$(NAME)-$(VERSION)" | cpio -pd $(NAME)-$(VERSION)/
- find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused -name control-center.rc |xargs rm -rf
+ svn export -q . $(NAME)-$(VERSION)
find $(NAME)-$(VERSION) -name '*.pl' -o -name control-center | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g'
tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
-srpm: dis
-# ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
- chmod 0644 ../$(NAME)-$(VERSION).tar.bz2 *.png #rpmlint is happy
- cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
- cp -f *.png $(RPM)/SOURCES
- cp -f $(NAME).spec $(RPM)/SPECS/
- rpm -bs $(NAME).spec
-
-rpm: srpm
- rpm -bb --clean --rmsource $(NAME).spec
- rm -f ../$(NAME)-$(VERSION).tar.bz2
- cvs commit
-
-localrpm: srpm
- rpm -bb --clean --rmsource $(NAME).spec
- rm -f ../$(NAME)-$(VERSION).tar.bz2
-
changelog:
- cvs2cl -U ../common/username -I ChangeLog --accum -W 400 -F TRUNK
+ svn2cl --authors ../common/username.xml --accum --strip-prefix=soft/control-center/trunk/
rm -f ChangeLog.bak