aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2007-09-27 13:55:48 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2007-09-27 13:55:48 +0000
commit9e8d7107c7da6dba704953c2e2e43800df24c1fa (patch)
tree3898adb6b1049ea99102f088dbdb753b01e3a646 /Makefile
parentd4e95d802d5e1b11828034ae00c231b21b9b961b (diff)
downloadcommon-data-9e8d7107c7da6dba704953c2e2e43800df24c1fa.tar
common-data-9e8d7107c7da6dba704953c2e2e43800df24c1fa.tar.gz
common-data-9e8d7107c7da6dba704953c2e2e43800df24c1fa.tar.bz2
common-data-9e8d7107c7da6dba704953c2e2e43800df24c1fa.tar.xz
common-data-9e8d7107c7da6dba704953c2e2e43800df24c1fa.zip
Fix tarball generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9ac78da..7e19970 100644
--- a/Makefile
+++ b/Makefile
@@ -11,13 +11,13 @@ menu/validated-menu: menu/applications.menu.in
applications.menu: menu/validated-menu
@echo -n "generating $@ "
- @sed -e 's,@MAIN_DESKTOP@,GNOME,g' -e 's,@MAIN_TOOLKIT@,GTK,g' < menu/applications.menu.in > $@
+ @sed -e 's,@MAIN_DESKTOP@,GNOME,g' -e 's,@MAIN_TOOLKIT@,GTK,g' -e 's,@ALTERNATIVE_DESKTOP@,KDE,g' -e 's,@ALTERNATIVE_TOOLKIT@,Qt,g' < menu/applications.menu.in > $@
@xmllint --noout --dtdvalid menu/menu.dtd $@
@echo " OK"
kde-applications.menu: menu/validated-menu
@echo -n "generating $@ "
- @sed -e 's,@MAIN_DESKTOP@,KDE,g' -e 's,@MAIN_TOOLKIT@,Qt,g' < menu/applications.menu.in > $@
+ @sed -e 's,@MAIN_DESKTOP@,KDE,g' -e 's,@MAIN_TOOLKIT@,Qt,g' -e 's,@ALTERNATIVE_DESKTOP@,GNOME,g' -e 's,@ALTERNATIVE_TOOLKIT@,GTK,g' < menu/applications.menu.in > $@
@xmllint --noout --dtdvalid menu/menu.dtd $@
@echo " OK"
@@ -47,8 +47,7 @@ localcopy: checktag
find $(PACKAGE)-$(VERSION) -type d -name CVS -o -type d -name '.svn' -o -name .cvsignore -o -name '*~' |xargs rm -rf
tar: checktag
- tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
- bzip2 -9vf $(PACKAGE)-$(VERSION).tar
+ tar cjvf $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
# rules to build a distributable rpm