mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-23 10:06:31 +08:00
514beca807
Closes: <https://github.com/shadow-maint/shadow/issues/1027>
Reported-by: Chris Hofstaedtler <zeha@debian.org>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Co-developed-by: Serge Hallyn <shallyn@cisco.com>
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
Co-developed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Cherry-picked-from: 488bf4a519
("Makefile.am: Use 'dist-hook' to clean up <tests/unit/Makefile>")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
30 lines
673 B
Makefile
30 lines
673 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
EXTRA_DIST = NEWS README
|
|
|
|
SUBDIRS = lib
|
|
|
|
if ENABLE_SUBIDS
|
|
SUBDIRS += libsubid
|
|
endif
|
|
|
|
SUBDIRS += src po contrib doc etc tests/unit
|
|
|
|
if ENABLE_REGENERATE_MAN
|
|
SUBDIRS += man
|
|
endif
|
|
|
|
CLEANFILES = man/8.out man/po/remove-potcdate.* man/*/login.defs.d man/*/*.mo
|
|
|
|
EXTRA_DIST = tests/
|
|
|
|
dist-hook:
|
|
chmod -R u+w $(distdir)/tests
|
|
chmod u+w $(distdir)
|
|
mv $(distdir)/tests/unit $(distdir)/realunittest
|
|
mv $(distdir)/tests/tests $(distdir)/realtests
|
|
rm -rf $(distdir)/tests
|
|
mv $(distdir)/realtests $(distdir)/tests
|
|
rm -rf $(distdir)/tests/unit $(distdir)/tests/Makefile*
|
|
mv $(distdir)/realunittest $(distdir)/tests/unit
|