Commit 704bff28 authored by Silvan Calarco's avatar Silvan Calarco

Release 2.3.12

parent 96b24b6f
......@@ -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)'"
VERSION=2.3.10
VERSION=2.3.12
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment