Commit 704bff28e2f017b3afcd0a172c741b6d904230e8

Authored by Silvan Calarco
1 parent 96b24b6f60
Exists in master and in 1 other branch milestone2

Release 2.3.12

Showing 4 changed files with 14 additions and 5 deletions Side-by-side Diff

... ... @@ -34,6 +34,10 @@
34 34 WALLPAPERS_DIR = ${kdedatadir}/wallpapers
35 35 STATIC_DIR = /static
36 36  
  37 +# package related variables
  38 +distdir = $(NAME)-$(VERSION)
  39 +dist_archive = $(distdir).tar.bz2
  40 +
37 41 pck_catalogs := $(wildcard installer/po/*.po)
38 42  
39 43 .SUFFIXES:
40 44  
... ... @@ -80,11 +84,16 @@
80 84 clean:
81 85  
82 86 dist: clean
83   - @tar cf - -C .. $(NAME)-$(VERSION) --exclude=$(NAME)-$(VERSION).tar.bz2 | bzip2 -9 -c > $(NAME)-$(VERSION).tar.bz2
84   - rm -f $(pck_catalogs:.po=.mo)
  87 + @git log > ChangeLog.git
  88 + @mkdir /tmp/$(distdir)
  89 + @cp -a * /tmp/$(distdir)/
  90 + @rm -f $(dist_archive);\
  91 + tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
  92 + @rm -rf /tmp/$(distdir)
  93 + @echo "file \`$(dist_archive)' created"
85 94  
86 95 dist-rpm: dist
87 96 @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
88   - mv -f $(NAME)-$(VERSION).tar.bz2 $$rpm_sourcedir;\
89   - echo "File $$rpm_sourcedir/$(NAME)-$(VERSION).tar.bz2 created."
  97 + mv -f $(dist_archive) $$rpm_sourcedir;\
  98 + echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
1   -VERSION=2.3.10
  1 +VERSION=2.3.12
installer/po/es.mo
No preview for this file type
installer/po/it.mo
No preview for this file type