forked from mirrors/tftp-hpa-google
Add spec file for rpm -ta
This commit is contained in:
parent
17b5188b65
commit
1405c06bab
4 changed files with 255 additions and 1 deletions
7
Makefile
7
Makefile
|
@ -35,7 +35,7 @@ localdistclean: localclean
|
|||
find . -type f \( -name \*.orig -o -name \*.rej \) | xargs rm -f
|
||||
|
||||
spotless: distclean
|
||||
rm -f configure aconfig.h.in
|
||||
rm -f configure aconfig.h.in tftp.spec
|
||||
|
||||
autoconf: configure aconfig.h.in
|
||||
|
||||
|
@ -43,6 +43,7 @@ config: MCONFIG aconfig.h
|
|||
|
||||
release:
|
||||
$(MAKE) autoconf
|
||||
$(MAKE) tftp.spec
|
||||
$(MAKE) distclean
|
||||
|
||||
MCONFIG: configure MCONFIG.in aconfig.h.in
|
||||
|
@ -68,3 +69,7 @@ configure: configure.in aclocal.m4
|
|||
|
||||
version.h: version
|
||||
echo \#define VERSION \"tftp-hpa `cat version`\" > version.h
|
||||
|
||||
tftp.spec: tftp.spec.in version
|
||||
sed -e "s/@@VERSION@@/`cat version`/g" < $< > $@ || rm -f $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue