Commit ab7277840f36aa0fa3eff9daa3ddb43612b6b804
1 parent
f18629b9cc
Exists in
master
Release 0.9.0
Showing 2 changed files with 6 additions and 13 deletions Side-by-side Diff
Makefile
... | ... | @@ -93,20 +93,13 @@ |
93 | 93 | rm -f $(dist_archive) |
94 | 94 | |
95 | 95 | dist: clean |
96 | - @case `sed 15q ChangeLog` in \ | |
97 | - *"$(VERSION)"*) : ;; \ | |
98 | - *) \ | |
99 | - echo "ChangeLog not updated; not releasing" 1>&2;\ | |
100 | - exit 1;; \ | |
101 | - esac | |
96 | + @git log > ChangeLog.git | |
97 | + @mkdir /tmp/$(distdir) | |
98 | + @cp -a * /tmp/$(distdir)/ | |
102 | 99 | @rm -f $(dist_archive);\ |
103 | - tar cf - --exclude=$(dist_archive) -C .. $(distdir) |\ | |
104 | - bzip2 -9 -c > $(dist_archive) | |
100 | + tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive) | |
101 | + @rm -rf /tmp/$(distdir) | |
105 | 102 | @echo "file \`$(dist_archive)' created" |
106 | - @sed -i "s|^LOGDIR=.*|LOGDIR=$(pck_logdir)|" autodist | |
107 | - @sed -i "s|^VERSION=.*|VERSION=$(VERSION)|" autodist | |
108 | - @sed -i "s|^VERSION=.*|VERSION=$(VERSION)|" autoport | |
109 | - @sed -i "s|^VERSION=.*|VERSION=$(VERSION)|" autoport-fix-environment | |
110 | 103 | |
111 | 104 | dist-rpm: dist |
112 | 105 | @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\ |
VERSION