Makefile, hooks: Static target precondition for pkgs, copy .avx2 builds
Convenience packages are anyway built from static builds. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
763f281155
commit
06f8e4f960
3 changed files with 7 additions and 9 deletions
2
Makefile
2
Makefile
|
@ -122,7 +122,7 @@ uninstall:
|
|||
-${RM} $(DESTDIR)$(prefix)/share/man/man1/pasta.1
|
||||
-${RM} $(DESTDIR)$(prefix)/share/man/man1/qrap.1
|
||||
|
||||
pkgs:
|
||||
pkgs: static
|
||||
tar cf passt.tar -P --xform 's//\/usr\/bin\//' $(BIN)
|
||||
tar rf passt.tar -P --xform 's//\/usr\/share\/man\/man1\//' \
|
||||
passt.1 pasta.1 qrap.1
|
||||
|
|
|
@ -473,7 +473,6 @@ Test logs [here](/builds/latest/test/).
|
|||
distributions are also available there. These binaries and packages are
|
||||
simply built with:
|
||||
|
||||
make static
|
||||
make pkgs
|
||||
|
||||
* have a look at the _man_ page for synopsis and options:
|
||||
|
@ -533,7 +532,6 @@ Test logs [here](/builds/latest/test/).
|
|||
distributions are also available there. These binaries and packages are
|
||||
simply built with:
|
||||
|
||||
make static
|
||||
make pkgs
|
||||
|
||||
* have a look at the _man_ page for synopsis and options:
|
||||
|
|
|
@ -47,17 +47,17 @@ done
|
|||
|
||||
cd ..
|
||||
|
||||
make static
|
||||
scp passt pasta qrap passt.1 pasta.1 qrap.1 "${USER_HOST}:${BIN}"
|
||||
|
||||
man2html -M "/" passt.1 > passt.1.html
|
||||
scp passt.1.html "${USER_HOST}:${WEB}/"
|
||||
|
||||
make pkgs
|
||||
scp passt passt.avx2 passt.1 qrap qrap.1 "${USER_HOST}:${BIN}"
|
||||
scp pasta pasta.avx2 pasta.1 "${USER_HOST}:${BIN}"
|
||||
|
||||
ssh "${USER_HOST}" "rm -f ${BIN}/*.deb"
|
||||
ssh "${USER_HOST}" "rm -f ${BIN}/*.rpm"
|
||||
scp *.deb *.rpm "${USER_HOST}:${BIN}/"
|
||||
|
||||
man2html -M "/" passt.1 > passt.1.html
|
||||
scp passt.1.html "${USER_HOST}:${WEB}/"
|
||||
|
||||
ssh "${USER_HOST}" "mv ${LATEST} ${AWAY}"
|
||||
ssh "${USER_HOST}" "mv ${TEMP} ${LATEST}"
|
||||
ssh "${USER_HOST}" "rm -rf ${AWAY}"
|
||||
|
|
Loading…
Reference in a new issue