Browse Source

Fix #6 now make dist produce a good tarball

Yann Weber 7 years ago
parent
commit
55ae3693aa
2 changed files with 8 additions and 1 deletions
  1. 5
    0
      src/Makefile.am
  2. 3
    1
      tests/regen.sh

+ 5
- 0
src/Makefile.am View File

@@ -1,6 +1,11 @@
1 1
 bin_PROGRAMS = ttail
2 2
 noinst_LIBRARIES= libttail.a
3 3
 
4
+EXTRA_DIST = include/doxygen.h
5
+pkginclude_HEADERS = include/ttail.h include/ttail_init.h \
6
+	include/ttail_search.h include/ttail_search_files.h \
7
+	include/ttail_search_std.h
8
+
4 9
 libttail_a_SOURCES = 	ttail_init.c ttail_search.c ttail_search_files.c ttail_search_std.c
5 10
 ttail_SOURCES = main.c $(libttail_a_SOURCES)
6 11
 if HUGEFILE

+ 3
- 1
tests/regen.sh View File

@@ -5,7 +5,9 @@ echo "Generating $(pwd)/Makefile.am"
5 5
 
6 6
 progs="$(echo *.c | sed -e 's/\.c / /g' -e 's/\.c$//')"
7 7
 echo "TESTS = $progs
8
-check_PROGRAMS = $progs" > Makefile.am
8
+check_PROGRAMS = $progs
9
+pkginclude_HEADERS = ttail_check.h
10
+EXTRA_DIST = samples" > Makefile.am
9 11
 
10 12
 for p in $progs
11 13
 do

Loading…
Cancel
Save