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/src
# Copyright (C) 1989, 1992, 1993, 1998, 2000, 2002, 2006, 2009 Free Software Foundation, Inc.
# Copyright (C) 1989, 1992, 1993, 1998, 2000, 2002, 2006, 2009, 2012 Free Software Foundation, Inc.
# Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
# and Bruno Haible <bruno@clisp.org>.
#
@@ -140,4 +140,34 @@ distclean : clean
maintainer-clean : distclean
# List of source files.
SOURCE_FILES = \
configure.ac Makefile.in \
version.cc $(VERSION_H) \
positions.cc $(POSITIONS_H) \
options.cc $(OPTIONS_H) \
keyword.cc $(KEYWORD_H) \
keyword-list.cc $(KEYWORD_LIST_H) \
input.cc $(INPUT_H) \
bool-array.cc $(BOOL_ARRAY_H) \
hash-table.cc $(HASH_TABLE_H) \
search.cc $(SEARCH_H) \
output.cc $(OUTPUT_H) \
main.cc
# List of distributed files imported from other packages.
IMPORTED_FILES =
# List of distributed files generated by autotools or Makefile.devel.
GENERATED_FILES = \
configure config.h.in config.h.msvc config.h_vms
# List of distributed files generated by "make".
DISTRIBUTED_BUILT_FILES =
# 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 :