Release 2.3.12
This commit is contained in:
parent
96b24b6f60
commit
704bff28e2
17
Makefile
17
Makefile
@ -34,6 +34,10 @@ SYSTEM_MENU_DIR = ${datadir}/applications
|
|||||||
WALLPAPERS_DIR = ${kdedatadir}/wallpapers
|
WALLPAPERS_DIR = ${kdedatadir}/wallpapers
|
||||||
STATIC_DIR = /static
|
STATIC_DIR = /static
|
||||||
|
|
||||||
|
# package related variables
|
||||||
|
distdir = $(NAME)-$(VERSION)
|
||||||
|
dist_archive = $(distdir).tar.bz2
|
||||||
|
|
||||||
pck_catalogs := $(wildcard installer/po/*.po)
|
pck_catalogs := $(wildcard installer/po/*.po)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@ -80,10 +84,15 @@ install: install-dirs install-locales install-icons
|
|||||||
clean:
|
clean:
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
@tar cf - -C .. $(NAME)-$(VERSION) --exclude=$(NAME)-$(VERSION).tar.bz2 | bzip2 -9 -c > $(NAME)-$(VERSION).tar.bz2
|
@git log > ChangeLog.git
|
||||||
rm -f $(pck_catalogs:.po=.mo)
|
@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
|
dist-rpm: dist
|
||||||
@rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
|
@rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
|
||||||
mv -f $(NAME)-$(VERSION).tar.bz2 $$rpm_sourcedir;\
|
mv -f $(dist_archive) $$rpm_sourcedir;\
|
||||||
echo "File $$rpm_sourcedir/$(NAME)-$(VERSION).tar.bz2 created."
|
echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user