File: Makefile.am

package info (click to toggle)
libdap 3.20.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,568 kB
  • sloc: cpp: 50,809; sh: 41,536; xml: 23,511; ansic: 20,030; yacc: 2,508; exp: 1,544; makefile: 990; lex: 309; perl: 52; fortran: 8
file content (23 lines) | stat: -rw-r--r-- 745 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
noinst_SCRIPTS = cleanup.sh

EXTRA_DIST = cleanup.sh.in dodsrc dot.index dods_cache_init

DISTCLEANFILES =

# Remove this from DISTCLEANFILES because distclean targets may run in parallel
# with clean-local. Look in the Makefile at the clean targets to see why. jhrg 2/2/22
# cleanup.sh

# Removed. This breaks automake 1.16. jhrg 11/23/21
# $(top_srcdir)/config.status

cleanup.sh: cleanup.sh.in 
	sed -e "s%[@]srcdir[@]%${srcdir}%" $< > $(builddir)/cleanup.sh
	chmod +x $(builddir)/cleanup.sh

# Moved the cleanup od 'cleanup.sh' here to avoid issues with parallel
# runs while cleaning. See comment above about DISTCLEANFILES. jhrg 2/2/22
clean-local: cleanup.sh
	sh $(builddir)/cleanup.sh
	-rm -rf $(builddir)/cleanup.sh
	-rm -rf dods_cache