Skip to content
Snippets Groups Projects
Commit f228393fe2ef authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Remove generated files from distribution

- libxslt.spec
- python/libxslt.py

Also prefer 'dist_' prefix over EXTRA_DIST.
parent 2d178bddf99d
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
bin_SCRIPTS = xslt-config bin_SCRIPTS = xslt-config
dist-hook: cleanup libxslt.spec dist-hook: cleanup
touch $(distdir)/doc/*.xml touch $(distdir)/doc/*.xml
touch $(distdir)/doc/EXSLT/*.xml touch $(distdir)/doc/EXSLT/*.xml
touch $(distdir)/libxslt/*.syms touch $(distdir)/libxslt/*.syms
(cd $(srcdir) ; tar -cf - win32 vms examples) | (cd $(distdir); tar xf -) (cd $(srcdir) ; tar -cf - win32 vms examples) | (cd $(distdir); tar xf -)
...@@ -16,13 +16,11 @@ ...@@ -16,13 +16,11 @@
touch $(distdir)/doc/*.xml touch $(distdir)/doc/*.xml
touch $(distdir)/doc/EXSLT/*.xml touch $(distdir)/doc/EXSLT/*.xml
touch $(distdir)/libxslt/*.syms touch $(distdir)/libxslt/*.syms
(cd $(srcdir) ; tar -cf - win32 vms examples) | (cd $(distdir); tar xf -) (cd $(srcdir) ; tar -cf - win32 vms examples) | (cd $(distdir); tar xf -)
EXTRA_DIST = xsltConf.sh.in xslt-config.in libxslt.spec libxslt.spec.in \ EXTRA_DIST = xsltConf.sh.in \
FEATURES TODO Copyright libxslt.m4 \ FEATURES TODO Copyright \
win32/libxslt/libxslt.def win32/libxslt/libxslt.dsw \ CMakeLists.txt config.h.cmake.in libxslt-config.cmake.in libxslt-config.cmake.cmake.in
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
## We create xsltConf.sh here and not from configure because we want ## We create xsltConf.sh here and not from configure because we want
## to get the paths expanded correctly. Macros like srcdir are given ## to get the paths expanded correctly. Macros like srcdir are given
...@@ -73,6 +71,7 @@ ...@@ -73,6 +71,7 @@
pkgconfig_DATA = libxslt.pc libexslt.pc pkgconfig_DATA = libxslt.pc libexslt.pc
cmakedir = $(libdir)/cmake/libxslt cmakedir = $(libdir)/cmake/libxslt
cmake_DATA = FindGcrypt.cmake libxslt-config.cmake dist_cmake_DATA = FindGcrypt.cmake
cmake_DATA = libxslt-config.cmake
m4datadir = $(datadir)/aclocal m4datadir = $(datadir)/aclocal
...@@ -77,4 +76,4 @@ ...@@ -77,4 +76,4 @@
m4datadir = $(datadir)/aclocal m4datadir = $(datadir)/aclocal
m4data_DATA = libxslt.m4 dist_m4data_DATA = libxslt.m4
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
libxslt.py: $(srcdir)/libxsl.py libxsltclass.py libxslt.py: $(srcdir)/libxsl.py libxsltclass.py
cat $(srcdir)/libxsl.py libxsltclass.py > $@ cat $(srcdir)/libxsl.py libxsltclass.py > $@
python_PYTHON = libxslt.py nodist_python_PYTHON = libxslt.py
GENERATE = generator.py GENERATE = generator.py
API_DESC = $(top_srcdir)/doc/libxslt-api.xml $(srcdir)/libxslt-python-api.xml API_DESC = $(top_srcdir)/doc/libxslt-api.xml $(srcdir)/libxslt-python-api.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment