This website requires JavaScript.
Explore
Help
Sign In
folkslinux
/
rpm
mirror of
https://github.com/rpm-software-management/rpm.git
Watch
1
Star
0
Fork
You've already forked rpm
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bd942d5fee
rpm
/
Makefile.maint
5 lines
93 B
Makefile
Raw
Normal View
History
Unescape
Escape
Include toplevel Makefile from Makefile.maint - allow "make dist" in one step with .maint..
2007-12-17 21:32:25 +08:00
i
n
c
l
u
d
e
M
a
k
e
f
i
l
e
Fix "make dist" work out of the box again ChangeLog is listed as EXTRA_DIST but there's no rule to create it so dist target is broken except when invoked with Makefile.maint. Which nobody finds because its such a strange thing to have. Move back ChangeLog generation into main Makefile.am but do not require git to create it. Instead have a rule to create an empty file to appease EXTRA_DIST no matter what, and only create the real thing if we're in a git checkout and git command is present.
2016-11-04 16:17:06 +08:00
snapshot
:
Makefile.maint: use git-rev-list No need to query all commits and count lines of output, we can just ask git to provide information directly.
2016-09-11 00:15:42 +08:00
@
$(
MAKE
)
dist
VERSION
=
$(
VERSION
)
-git
`
git rev-list --count HEAD
`