File: Makefile.am

package info (click to toggle)
systraq 20201231-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,172 kB
  • sloc: sh: 821; makefile: 130
file content (35 lines) | stat: -rw-r--r-- 729 bytes parent folder | download | duplicates (4)
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
## Process this file with automake to produce Makefile.in

systraqdir = $(pkglibexecdir)

## $(LIBEXEC_PATH)

systraq_SCRIPTS = \
    ae-release \
    ah-uname \
    ak-uptime \
    bb-free \
    cc-df \
    ck-mdstat \
    dd-last \
    ee-lastlog \
    ff-netstat \
    gg-ps \
    ii-shellrc \
    nn-debsums \
    rr-localdigest \
    ww-signature

EXTRA_DIST = $(systraq_SCRIPTS)

install-exec-hook:
	$(mkdir_p) $(DESTDIR)$(sysconfdir)/$(PACKAGE)/systraq.d
	for i in $(systraq_SCRIPTS); do \
          $(LN_S) $(systraqdir)/$$i $(DESTDIR)$(sysconfdir)/$(PACKAGE)/systraq.d/$$i; \
        done

uninstall-hook:
	for i in $(systraq_SCRIPTS); do \
          rm $(DESTDIR)$(sysconfdir)/$(PACKAGE)/systraq.d/$$i; \
        done