mirror of
https://github.com/json-c/json-c.git
synced 2026-03-22 06:29:06 +08:00
Issue #688: Only exclude generated doc/* files, keep the CMakeLists.txt, etc... so the nodoc tarball can still be built.
This commit is contained in:
@@ -94,7 +94,11 @@ Create the release tarballs:
|
||||
echo .git > excludes
|
||||
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
|
||||
|
||||
echo 'doc/*' >> excludes
|
||||
echo 'doc/*.cmake' >> excludes
|
||||
echo 'doc/CMakeFiles' >> excludes
|
||||
echo 'doc/Makefile' >> excludes
|
||||
echo 'doc/Doxyfile' >> excludes
|
||||
echo 'doc/html' >> excludes
|
||||
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
|
||||
|
||||
------------
|
||||
|
||||
Reference in New Issue
Block a user