diff --git a/Makefile b/Makefile index 96e3e39..4af3834 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,10 @@ SYSTEM_MENU_DIR = ${datadir}/applications WALLPAPERS_DIR = ${kdedatadir}/wallpapers STATIC_DIR = /static +# package related variables +distdir = $(NAME)-$(VERSION) +dist_archive = $(distdir).tar.bz2 + pck_catalogs := $(wildcard installer/po/*.po) .SUFFIXES: @@ -80,10 +84,15 @@ install: install-dirs install-locales install-icons clean: dist: clean - @tar cf - -C .. $(NAME)-$(VERSION) --exclude=$(NAME)-$(VERSION).tar.bz2 | bzip2 -9 -c > $(NAME)-$(VERSION).tar.bz2 - rm -f $(pck_catalogs:.po=.mo) + @git log > ChangeLog.git + @mkdir /tmp/$(distdir) + @cp -a * /tmp/$(distdir)/ + @rm -f $(dist_archive);\ + tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive) + @rm -rf /tmp/$(distdir) + @echo "file \`$(dist_archive)' created" dist-rpm: dist @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\ - mv -f $(NAME)-$(VERSION).tar.bz2 $$rpm_sourcedir;\ - echo "File $$rpm_sourcedir/$(NAME)-$(VERSION).tar.bz2 created." + mv -f $(dist_archive) $$rpm_sourcedir;\ + echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'" diff --git a/VERSION b/VERSION index a9c4fdf..162dc4c 100644 --- a/VERSION +++ b/VERSION @@ -1,3 +1,3 @@ -VERSION=2.3.10 +VERSION=2.3.12 diff --git a/installer/po/es.mo b/installer/po/es.mo deleted file mode 100644 index acc9f63..0000000 Binary files a/installer/po/es.mo and /dev/null differ diff --git a/installer/po/it.mo b/installer/po/it.mo deleted file mode 100644 index 5639c3a..0000000 Binary files a/installer/po/it.mo and /dev/null differ