chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udevadm: monitor - use libudev for udev monitor
[elogind.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index ae21bca16c3c329332d0864467a30ae762cfd22f..d4afefdf7176c91d49d614b0c3ac1ce4f27facb6 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-12,6
+12,8
@@
EXTRA_DIST = \
docs \
autogen.sh
docs \
autogen.sh
+PREVIOUS_VERSION = `expr $(VERSION) - 1`
+
distclean-local:
rm -f *~
rm -rf autom4te.cache
distclean-local:
rm -f *~
rm -rf autom4te.cache
@@
-21,12
+23,12
@@
distclean-local:
rm -f udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
changelog:
rm -f udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
changelog:
- @ head -1 ChangeLog | grep -q "to v$(
shell echo $$(($(VERSION) - 1))
)"
+ @ head -1 ChangeLog | grep -q "to v$(
PREVIOUS_VERSION
)"
@ mv ChangeLog ChangeLog.tmp
@ mv ChangeLog ChangeLog.tmp
- @ echo "Summary of changes from v$(
shell echo $$(($(VERSION) - 1))
) to v$(VERSION)" >> ChangeLog
+ @ echo "Summary of changes from v$(
PREVIOUS_VERSION
) to v$(VERSION)" >> ChangeLog
@ echo "============================================" >> ChangeLog
@ echo >> ChangeLog
@ echo "============================================" >> ChangeLog
@ echo >> ChangeLog
- @ git log --pretty=short $(
shell echo $$(($(VERSION) - 1))
)..HEAD | git shortlog >> ChangeLog
+ @ git log --pretty=short $(
PREVIOUS_VERSION
)..HEAD | git shortlog >> ChangeLog
@ echo >> ChangeLog
@ cat ChangeLog
@ cat ChangeLog.tmp >> ChangeLog
@ echo >> ChangeLog
@ cat ChangeLog
@ cat ChangeLog.tmp >> ChangeLog