File: Makefile.am

package info (click to toggle)
time 1.7-25.1
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 760 kB
  • ctags: 284
  • sloc: ansic: 2,811; sh: 232; makefile: 27
file content (18 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
bin_PROGRAMS = time
info_TEXINFOS = time.texi
time_SOURCES = time.c getopt.c getopt1.c error.c resuse.c version.c \
	getopt.h getpagesize.h resuse.h port.h wait.h
EXTRA_DIST = texinfo.tex

DISTCLEANFILES = stamp-v version.c
version.c: stamp-v
stamp-v: Makefile
	rm -f t-version.c
	echo 'const char *version_string = "'GNU @PACKAGE@ @VERSION@'";' \
		> t-version.c
	if cmp -s version.c t-version.c; then	\
	  rm t-version.c;			\
	else					\
	  mv t-version.c version.c;		\
	fi
	echo timestamp > $@