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
 bin_PROGRAMS = ttail
1
 bin_PROGRAMS = ttail
2
 noinst_LIBRARIES= libttail.a
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
 libttail_a_SOURCES = 	ttail_init.c ttail_search.c ttail_search_files.c ttail_search_std.c
9
 libttail_a_SOURCES = 	ttail_init.c ttail_search.c ttail_search_files.c ttail_search_std.c
5
 ttail_SOURCES = main.c $(libttail_a_SOURCES)
10
 ttail_SOURCES = main.c $(libttail_a_SOURCES)
6
 if HUGEFILE
11
 if HUGEFILE

+ 3
- 1
tests/regen.sh View File

5
 
5
 
6
 progs="$(echo *.c | sed -e 's/\.c / /g' -e 's/\.c$//')"
6
 progs="$(echo *.c | sed -e 's/\.c / /g' -e 's/\.c$//')"
7
 echo "TESTS = $progs
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
 for p in $progs
12
 for p in $progs
11
 do
13
 do

Loading…
Cancel
Save