Prepare build system to produce RPMs
Add .spec file under extras/rpms and create targets to produce source and binary rpms
This commit is contained in:
parent
e7b1c0c38c
commit
1c187c5729
6 changed files with 135 additions and 7 deletions
12
Makefile.in
12
Makefile.in
|
|
@ -106,9 +106,9 @@ clean:
|
|||
|
||||
distclean:
|
||||
rm -f Makefile TAGS config.status config.log *~ .depend
|
||||
rm -rf Makefile autom4te.cache
|
||||
rm -rf clixon.conf.cpp clixon.mk
|
||||
rm -f build-root/*.tar.xz
|
||||
rm -rf autom4te.cache
|
||||
rm -rf clixon.conf.cpp clixon.mk build-root/rpmbuild
|
||||
rm -f build-root/*.tar.xz build-root/*.rpm extras/rpm/Makefile
|
||||
for i in $(SUBDIRS) doc example docker; \
|
||||
do (cd $$i && $(MAKE) $(MFLAGS) $@); done
|
||||
|
||||
|
|
@ -145,6 +145,12 @@ dist:
|
|||
@$(RM) $(BR)/clixon-latest.tar.xz
|
||||
@ln -rs $(DIST_FILE).xz $(BR)/clixon-latest.tar.xz
|
||||
|
||||
pkg-rpm: dist
|
||||
make -C extras/rpm
|
||||
|
||||
pkg-srpm: dist
|
||||
make -C extras/rpm srpm
|
||||
|
||||
docker:
|
||||
for i in docker; \
|
||||
do (cd $$i && $(MAKE) $(MFLAGS) $@); done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue