File: Makefile.am

package info (click to toggle)
libbash 0.9.11-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 764 kB
  • ctags: 50
  • sloc: sh: 1,402; makefile: 51
file content (17 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# lib must be before src, otherwise, the ldbashconfig command at src/Makefile.am will fail
SUBDIRS = lib . src doc m4 tests

AUTOMAKE_OPTIONS = -Wno-portability

EXTRA_DIST = libbash.man

# installing man pages
man7_MANS = libbash.man


# Running ldbashconfig after installation only if DESTDIR is empty
install-data-hook:
	[[ "$(DESTDIR)" == "" ]] && $(sbindir)/ldbashconfig || :
	@[[ "$(DESTDIR)" != "" ]] &&	(echo "===============================================" && \
									echo "You've used DESTDIR - not running ldbashconfig!" && \
									echo "===============================================") || :