1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Create tarballs through an Automake-like "make dist" command.

This commit is contained in:
Bruno Haible
2012-07-01 14:46:34 +02:00
parent b392998058
commit 9386cd6fc4
6 changed files with 194 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# Makefile for gperf/doc
# Copyright (C) 1998, 2000, 2002-2003, 2007 Free Software Foundation, Inc.
# Copyright (C) 1998, 2000, 2002-2003, 2007, 2012 Free Software Foundation, Inc.
# Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
# and Bruno Haible <bruno@clisp.org>.
#
@@ -147,5 +147,35 @@ distclean : clean
maintainer-clean : distclean
$(RM) *.info *.dvi *.ps *.pdf *.html
# List of source files.
SOURCE_FILES = \
configure.ac Makefile.in \
gperf.texi
# List of distributed files imported from other packages.
IMPORTED_FILES = \
gpl-3.0.texi \
texinfo.tex texi2html \
help2man
# List of distributed files generated by autotools or Makefile.devel.
GENERATED_FILES = \
configure \
gperf.1
# List of distributed files generated by "make".
DISTRIBUTED_BUILT_FILES = \
gperf.info \
gperf.dvi \
gperf.ps \
gperf.pdf \
gperf.html \
gperf_toc.html gperf_[0-9].html gperf_[0-9][0-9].html
# List of distributed files.
DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
distdir : $(DISTFILES)
for file in $(DISTFILES); do \
if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
cp -p $$dir/$$file '$(distdir)'/$$file || exit 1; \
done
force :