File: Makefile.am

package info (click to toggle)
fileutils 3.16-5.4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,876 kB
  • ctags: 3,158
  • sloc: ansic: 32,792; yacc: 1,032; makefile: 281; sh: 277; sed: 93; perl: 33
file content (37 lines) | stat: -rw-r--r-- 1,062 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = gnits 1.1k

SUBDIRS = lib intl src doc man m4 po

maintainer-check:

# Tag before making distribution.  Also, don't make a distribution if
# checks fail.  Also, make sure the NEWS file is up-to-date.
cvs-dist: maintainer-check
	pkg=`echo "@PACKAGE@" | tr a-z A-Z`; \
	ver=`echo "@VERSION@" | sed 's/\./_/g'`; \
	tag="$$pkg-$$ver"; \
	echo tag=$$tag; \
	if cvs -n log -h README| grep -e $$tag > /dev/null; then \
	  echo "VERSION not new; not releasing" 1>&2; \
	  exit 1; \
	else :; \
	fi; \
	cvs tag -c $$tag
	$(MAKE) dist

acdir = m4
@MAINT@aclocal-files: configure.in
@MAINT@	echo 'acfiles = \' > $@-tmp
@MAINT@	find $(acdir) -type f -name '*.m4' -print		\
@MAINT@	  | sed 's!^!$(top_srcdir)/!'				\
@MAINT@	  | tr '\012' ' '					\
@MAINT@	  >> $@-tmp
@MAINT@	echo >> $@-tmp
@MAINT@	mv $@-tmp $@

@MAINT@include aclocal-files

@MAINT@# Override default rule to use --acdir option
@MAINT@$(srcdir)/aclocal.m4: configure.in $(acfiles)
@MAINT@	cd $(srcdir) && aclocal --acdir=$(acdir)