2016-01-30 05:24:23 +00:00
|
|
|
AUTOMAKE_OPTION = foreign
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
EXTRA_DIST =
|
|
|
|
|
2021-07-12 14:40:51 +00:00
|
|
|
SUBDIRS = lib bin t
|
2016-01-30 05:24:23 +00:00
|
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
|
|
|
|
|
|
distclean-local:
|
2021-08-14 15:06:57 +00:00
|
|
|
rm -rf $(top_srcdir)/autom4te.cache
|
2021-07-22 08:24:03 +00:00
|
|
|
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
rpm: dist-gzip
|
|
|
|
mkdir -p "@abs_builddir@/pkgs/RPM/BUILD"
|
|
|
|
mkdir -p "@abs_builddir@/pkgs/RPM/SOURCES"
|
|
|
|
mkdir -p "@abs_builddir@/pkgs/RPM/SRPMS"
|
|
|
|
mkdir -p "@abs_builddir@/pkgs/RPM/RPMS"
|
|
|
|
cp @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz "@abs_builddir@/pkgs/RPM/SOURCES"
|
|
|
|
rpmbuild --define "_topdir @abs_builddir@/pkgs/RPM" -ba @abs_builddir@/pkgs/hio.spec --target=@build_cpu@
|
|
|
|
|
2022-10-07 05:08:40 +00:00
|
|
|
docker:
|
2022-10-08 07:47:55 +00:00
|
|
|
mkdir -p data
|
|
|
|
rm -rf data/*
|
|
|
|
tar -cvf hio-webs.tar bin/hio-webs data
|
|
|
|
docker build -t hio:webs -f Dockerfile .
|
|
|
|
rm -f hio-webs.tar
|