# HG changeset patch # User Nick Wellnhofer <wellnhofer@aevum.de> # Date 1661780402 -7200 # Mon Aug 29 15:40:02 2022 +0200 # Node ID f228393fe2ef01846b6c864adcd31195274662fd # Parent 2d178bddf99d9a929e0db6fdda7e690b10b76898 Remove generated files from distribution - libxslt.spec - python/libxslt.py Also prefer 'dist_' prefix over EXTRA_DIST. diff --git a/Makefile.am b/Makefile.am --- a/Makefile.am +++ b/Makefile.am @@ -12,17 +12,15 @@ bin_SCRIPTS = xslt-config -dist-hook: cleanup libxslt.spec +dist-hook: cleanup touch $(distdir)/doc/*.xml touch $(distdir)/doc/EXSLT/*.xml touch $(distdir)/libxslt/*.syms (cd $(srcdir) ; tar -cf - win32 vms examples) | (cd $(distdir); tar xf -) -EXTRA_DIST = xsltConf.sh.in xslt-config.in libxslt.spec libxslt.spec.in \ - FEATURES TODO Copyright libxslt.m4 \ - win32/libxslt/libxslt.def win32/libxslt/libxslt.dsw \ - win32/libxslt/libxslt_so.dsp win32/libxslt/xsltproc.dsp \ - CMakeLists.txt config.h.cmake.in FindGcrypt.cmake libxslt-config.cmake.in libxslt-config.cmake.cmake.in +EXTRA_DIST = xsltConf.sh.in \ + FEATURES TODO Copyright \ + CMakeLists.txt config.h.cmake.in libxslt-config.cmake.in libxslt-config.cmake.cmake.in ## We create xsltConf.sh here and not from configure because we want ## to get the paths expanded correctly. Macros like srcdir are given @@ -73,8 +71,9 @@ pkgconfig_DATA = libxslt.pc libexslt.pc cmakedir = $(libdir)/cmake/libxslt -cmake_DATA = FindGcrypt.cmake libxslt-config.cmake +dist_cmake_DATA = FindGcrypt.cmake +cmake_DATA = libxslt-config.cmake m4datadir = $(datadir)/aclocal -m4data_DATA = libxslt.m4 +dist_m4data_DATA = libxslt.m4 diff --git a/python/Makefile.am b/python/Makefile.am --- a/python/Makefile.am +++ b/python/Makefile.am @@ -31,7 +31,7 @@ libxslt.py: $(srcdir)/libxsl.py libxsltclass.py cat $(srcdir)/libxsl.py libxsltclass.py > $@ -python_PYTHON = libxslt.py +nodist_python_PYTHON = libxslt.py GENERATE = generator.py API_DESC = $(top_srcdir)/doc/libxslt-api.xml $(srcdir)/libxslt-python-api.xml