Skip to content

Commit

Permalink
libtest/make: generate lib1521.c
Browse files Browse the repository at this point in the history
... instead of having the generated code checked in. This saves space in
the tarball but primarily automatically adapts to newly added options.
  • Loading branch information
bagder committed Jun 27, 2017
1 parent 922f800 commit 8909be7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2,500 deletions.
6 changes: 6 additions & 0 deletions tests/libtest/Makefile.am
Expand Up @@ -109,5 +109,11 @@ libhostname_la_SOURCES = sethostname.c sethostname.h
libhostname_la_LIBADD =
libhostname_la_DEPENDENCIES =

lib1521.c: $(top_srcdir)/tests/libtest/mk-lib1521.pl $(top_srcdir)/include/curl/curl.h
@PERL@ $(top_srcdir)/tests/libtest/mk-lib1521.pl < $(top_srcdir)/include/curl/curl.h > lib1521.c

checksrc:
@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c

dist:
rm lib1521.c

0 comments on commit 8909be7

Please sign in to comment.