Commit 04e72466 authored by Niels Möller's avatar Niels Möller

Fixed dist and distcheck targets.

Rev: argp/ChangeLog:1.2
Rev: argp/Makefile.in:1.2
Rev: argp/testsuite/Makefile.in:1.2
parent 4f0dbbff
2007-04-05 Niels Mller <nisse@lysator.liu.se>
* Makefile.in, testsuite/Makefile.in: Fixed dist and distcheck
targets.
* configure.ac: Don't quote $CC when used, since it may include
some options.
* Moved in the CVS tree, and converted from automake to plain
autoconf.
......
......@@ -41,6 +41,8 @@ argp_SOURCES = argp-ba.c argp-eexst.c argp-fmtstream.c \
SOURCES = $(argp_SOURCES) argp-test.c
HEADERS = argp.h argp-fmtstream.h argp-namefrob.h
.c.$(OBJEXT):
$(COMPILE) -c $< \
&& $(DEP_PROCESS)
......@@ -91,7 +93,7 @@ config.m4: config.m4.in config.status
distdir = $(PACKAGE_NAME)-$(PACKAGE_VERSION)
top_distdir = $(distdir)
DISTFILES = $(SOURCES) .bootstrap aclocal.m4 configure.ac \
DISTFILES = $(SOURCES) $(HEADERS) .bootstrap aclocal.m4 configure.ac \
configure stamp-h.in \
install-sh config.h.in config.make.in Makefile.in \
COPYING.LIB TODO ChangeLog Versions \
......
......@@ -36,10 +36,14 @@ install uninstall:
DISTFILES = $(SOURCES) $(TS_SH) Makefile.in run-tests
distdir: $(DISTFILES)
cp $(DISTFILES) $(distdir)
set -e; for f in $(DISTFILES) ; do \
if [ -f "$$f" ] ; then cp "$$f" "$(distdir)" ; \
else cp "$(srcdir)/$$f" "$(distdir)" ; \
fi ; \
done
clean:
-rm -f $(TARGETS) $(EXTRA_TARGETS) *.o test.in test1.out test2.out
-rm -f $(TARGETS) *.$(OBJEXT) test.out
distclean: clean
-rm -f Makefile *.d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment