Made some more tweaks so `make dist` generates a working distribution

1.x
Gergely Polonkai 10 years ago
parent 64ef4d5608
commit 18b5390a33

@ -1,5 +1,5 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = swe/src src po docs/reference/swe-glib data
SUBDIRS = swe swe/src swe/doc src po docs/reference/swe-glib data
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

@ -41,7 +41,9 @@ AC_SUBST(LIBSWE_GLIB_LIBS)
AC_CONFIG_FILES([
Makefile
swe/Makefile
swe/src/Makefile
swe/doc/Makefile
src/Makefile
data/Makefile
po/Makefile.in

@ -22,7 +22,7 @@ BUILT_SOURCES = gswe-enumtypes.c gswe-enumtypes.h
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = gswe-enumtypes.h.template gswe-enumtypes.c.template
EXTRA_DIST = gswe-enumtypes.h.template gswe-enumtypes.c.template swe-glib-private.h
gswe-enumtypes.h: $(gswe_headers) gswe-enumtypes.h.template
$(GLIB_MKENUMS) --template $(filter %.template,$^) $(filter-out %.template,$^) > \

@ -0,0 +1 @@
EXTRA_DIST = README

@ -0,0 +1 @@
EXTRA_DIST = swephprg.pdf swisseph.pdf

@ -2,3 +2,24 @@ lib_LTLIBRARIES = libswe-1.75.la
libswe_1_75_la_SOURCES = swedate.c swehouse.c swejpl.c swemmoon.c swemplan.c swepcalc.c sweph.c swepdate.c swephlib.c swecl.c swehel.c
libswe_1_75_la_CFLAGS = $(CFLAGS) -Wall
libswe_1_75_la_LIBADD = $(LIBS)
EXTRA_DIST = \
LICENSE \
README \
swemptab.c \
swedate.h \
swedll.h \
swehouse.h \
swejpl.h \
swenut2000a.h \
sweodef.h \
swepcalc.h \
swephexp.h \
sweph.h \
swephlib.h \
fixstars.cat \
sedeltat.txt.inactive \
sefstars.txt \
seleapsec.txt \
seorbel.txt \
$(NULL)

Loading…
Cancel
Save