summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-05-21 23:45:11 +0200
committerpgen <p.gen.progs@gmail.com>2018-05-25 00:46:20 +0200
commita18d18a70133697dbf68de3b2781774311086259 (patch)
tree6f93f6fb481d1e72f006a4fe42b871a7a0475a98 /Makefile.in
parent7343bbf9650bd1a763ca3b669302efe82dd34d8e (diff)
Add the subpackage '-tests' in the specfile
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in29
1 files changed, 23 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index e2e5637..440be58 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -307,7 +307,9 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
smenu_SOURCES = smenu.c
dist_man_MANS = smenu.1
-EXTRA_DIST = smenu.spec.in ChangeLog smenu.spec build.sh version COPYRIGHT LICENSE.rst README.rst examples build-aux tests
+EXTRA_DIST = smenu.spec.in smenu.spec ChangeLog build.sh version \
+ COPYRIGHT LICENSE.rst README.rst examples build-aux tests
+
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
@@ -567,6 +569,9 @@ distdir: $(DISTFILES)
|| exit 1; \
fi; \
done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
@@ -806,11 +811,11 @@ uninstall-man: uninstall-man1
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-cscope clean-generic cscope \
cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
- dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
- distcheck distclean distclean-compile distclean-generic \
- distclean-hdr distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-binPROGRAMS install-data \
+ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-compile \
+ distclean-generic distclean-hdr distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-binPROGRAMS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-man1 install-pdf \
@@ -822,6 +827,18 @@ uninstall-man: uninstall-man1
uninstall-man1
+dist-hook:
+ @chmod u+rw $(distdir)/tests; \
+ cd $(distdir)/tests ; \
+ find * -name 'data*' -o \
+ -name '*.in' -o \
+ -name '*.tst' -o \
+ -name '*.good' \
+ | cpio -o > tests.cpio 2>/dev/null
+ @gzip -f9 $(distdir)/tests/tests.cpio
+ @find $(distdir)/tests/* -type d \
+ -exec rm -rf {} +
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: