projects
/
certmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f333258
)
add "versionfile" target to create etc/version for --version support
author
Adrian Likins
<alikins@redhat.com>
Thu, 11 Jun 2009 20:35:45 +0000
(16:35 -0400)
committer
Adrian Likins
<alikins@redhat.com>
Thu, 11 Jun 2009 20:35:45 +0000
(16:35 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
ec8cad3
..
652b5db
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,6
+12,12
@@
INITDIR = init-scripts
all: rpms
all: rpms
+versionfile:
+ echo "version:" $(VERSION) > etc/version
+ echo "release:" $(RELEASE) >> etc/version
+ echo "source build date:" $(DATE) >> etc/version
+ echo "git commit:" $(shell git log -n 1 --pretty="format:%H") >> etc/version
+ echo "git date:" $(shell git log -n 1 --pretty="format:%cd") >> etc/version
manpage:
pod2man --center="certmaster-request" --release="" ./docs/certmaster-request.pod | gzip -c > ./docs/certmaster-request.1.gz
manpage:
pod2man --center="certmaster-request" --release="" ./docs/certmaster-request.pod | gzip -c > ./docs/certmaster-request.1.gz