Mercurial > sm-archive
annotate Makefile.am @ 28:946961e534b4 default tip
Added tag stable-1-0-10 for changeset 9298f8b00db2
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 24 May 2018 10:38:44 -0700 |
parents | 9298f8b00db2 |
children |
rev | line source |
---|---|
10 | 1 ACLOCAL_AMFLAGS = -I m4 |
2 | |
1 | 3 SUBDIRS = src man html info |
2 | 4 hackdir = $(sysconfdir)/sm-archive |
27
9298f8b00db2
patches from Takao Abe add switches for config and pid files
Carl Byington <carl@five-ten-sg.com>
parents:
23
diff
changeset
|
5 hack_SCRIPTS = sm-archive sm-archive.service |
9298f8b00db2
patches from Takao Abe add switches for config and pid files
Carl Byington <carl@five-ten-sg.com>
parents:
23
diff
changeset
|
6 hack_DATA = sm-archive.conf sm-archive-tmpfs.conf |
17
8ebecad6530f
Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
10
diff
changeset
|
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ |
8ebecad6530f
Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
10
diff
changeset
|
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
27
9298f8b00db2
patches from Takao Abe add switches for config and pid files
Carl Byington <carl@five-ten-sg.com>
parents:
23
diff
changeset
|
9 CLEANFILES = sm-archive.service sm-archive xml/sm-archive xml/Makefile |
9298f8b00db2
patches from Takao Abe add switches for config and pid files
Carl Byington <carl@five-ten-sg.com>
parents:
23
diff
changeset
|
10 EXTRA_DIST = sm-archive.service.rc sm-archive.rc $(hack_DATA) sm-archive.spec $(wildcard m4/*) $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/sm*) |
1 | 11 |
17
8ebecad6530f
Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
10
diff
changeset
|
12 sm-archive: sm-archive.rc |
2 | 13 cat $(srcdir)/sm-archive.rc | \ |
1 | 14 sed -e "s,SBINDIR,$(sbindir),g" | \ |
2 | 15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>sm-archive |
1 | 16 |
23
37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
17
diff
changeset
|
17 sm-archive.service: sm-archive.service.rc |
37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
17
diff
changeset
|
18 cat $(srcdir)/sm-archive.service.rc | \ |
37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
17
diff
changeset
|
19 sed -e "s,SBINDIR,$(sbindir),g" | \ |
37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
17
diff
changeset
|
20 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>sm-archive.service |
37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
17
diff
changeset
|
21 |
2 | 22 chkconfig: sm-archive |
23 /usr/bin/getent passwd sm-archive || /usr/sbin/useradd -r -d /etc/sm-archive -M -c "sm-archive pseudo-user" -s /sbin/nologin sm-archive | |
24 mv -f $(sysconfdir)/sm-archive /etc/rc.d/init.d | |
25 /sbin/chkconfig --del sm-archive | |
26 /sbin/chkconfig --add sm-archive | |
1 | 27 |