`make dist' improvements

This commit is contained in:
rlar 2010-06-13 18:55:18 +00:00
parent 27e25aa615
commit 69465c5aa3
3 changed files with 30 additions and 20 deletions

View File

@ -1,3 +1,10 @@
2010-06-13 Robert Larice
* Makefile.am, src/Makefile.am:
add `libtool' to `make dist'
add `src/spice.def' to `make dist'
remove `src/ngspice.idx' from `make dist'
it will be created new from `src/ngspice.txt' anyway
2010-06-13 Robert Larice
* src/ciderlib/support/Makefile.am:
add `readme' to `make dist'

View File

@ -7,7 +7,8 @@ EXTRA_DIST = FAQ autogen.sh Stuarts_Poly_Notes \
ANALYSES BUGS AUTHORS ChangeLog \
DEVICES NEWS README README.tcl \
README.adms contrib \
examples visualc @NOTXGRAPH@
examples visualc @NOTXGRAPH@ \
libtool
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \

View File

@ -6,7 +6,7 @@ DIST_SUBDIRS = misc maths frontend spicelib include xspice ciderlib
if !TCL_MODULE
bin_PROGRAMS = ngspice ngnutmeg ngmakeidx
if !WINDOWS
bin_PROGRAMS += ngsconvert ngproc2mod ngmultidec
endif
@ -16,7 +16,7 @@ bin_PROGRAMS += nghelp
endif
endif
EXTRA_DIST = ngspice.txt ngspice.idx setplot spectrum \
EXTRA_DIST = ngspice.txt setplot spectrum \
devload devaxis ciderinit winmain.c unsupported \
tclspice.c tclspice.map pkgIndex.tcl.in tclspinit.in
@ -84,15 +84,15 @@ DYNAMIC_DEVICELIBS = \
@NDEV_LIB@ \
@VLADEV@ \
@NUMDEV@
## Build ngspice first:
ngspice_SOURCES = \
conf.c \
conf.h \
ngspice.c
if WINDOWS
ngspice_SOURCES += winmain.c
endif
@ -121,7 +121,7 @@ ngspice_LDADD = \
misc/libmisc.la
if !NO_X
ngspice_LDADD += \
frontend/help/libhlp.la
frontend/help/libhlp.la
endif
winmain.o: winmain.c
@ -156,7 +156,7 @@ ngnutmeg_LDADD = \
spicelib/parser/libinp.la
if !NO_X
ngnutmeg_LDADD += \
frontend/help/libhlp.la
frontend/help/libhlp.la
endif
## help:
@ -176,13 +176,13 @@ nghelp_LDADD = \
misc/libmisc.la
if !NO_X
nghelp_LDADD += \
frontend/help/libhlp.la
frontend/help/libhlp.la
endif
endif
## These programs currently fail to build on Windows
if !WINDOWS
if !WINDOWS
## sconvert:
ngsconvert_SOURCES = ngsconvert.c
@ -193,7 +193,7 @@ ngsconvert_LDADD = \
frontend/parser/libparser.la \
maths/misc/libmathmisc.la \
misc/libmisc.la
## proc2mod:
ngproc2mod_SOURCES = ngproc2mod.c
@ -201,7 +201,7 @@ ngproc2mod_SOURCES = ngproc2mod.c
ngproc2mod_LDADD = \
frontend/parser/libparser.la \
spicelib/parser/libinp.la \
misc/libmisc.la
misc/libmisc.la
## multidec:
@ -210,8 +210,8 @@ ngmultidec_SOURCES = ngmultidec.c
ngmultidec_LDADD = \
maths/sparse/libsparse.la \
misc/libmisc.la
misc/libmisc.la
endif !WINDOWS
## ngmakeidx:
@ -270,9 +270,9 @@ libspice_la_LIBADD = ngspice.lo conf.lo \
maths/ni/libni.la \
maths/sparse/libsparse.la \
misc/libmisc.la \
tclspice.lo $(LIBS)
tclspice.lo $(LIBS)
libspice_la_CFLAGS = $(AM_CFLAGS)
libspice_la_LDFLAGS = -shared -Wl,--version-script=tclspice.map
libspice_la_LDFLAGS = -shared -Wl,--version-script=tclspice.map
if TCLWIN
libspice_la_LDFLAGS += -no-undefined
libspice_la_LDFLAGS += --def spice.def @TCL_LIB_SPEC@
@ -293,16 +293,16 @@ pkgIndex.tcl: pkgIndex.tcl.in
sed -e 's;%LIB_DIR%;$(DESTDIR)$(libdir);g' $< | \
sed -e 's;%VERSION%;$(TCLSPICE_VERSION);g' > $@
all: $(TCL_FILES)
all: $(TCL_FILES)
install-tcl-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) install) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done;
done;
install-tclspice:
install-tclspice:
$(mkinstalldirs) $(DESTDIR)$(libdir)/spice
$(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(libdir)/spice
@ -311,3 +311,5 @@ tclspice.lo: tclspice.c
mv -f $(DEPDIR)/tclspice.Tpo $(DEPDIR)/tclspice.Plo
endif
EXTRA_DIST += spice.def