Mercurial > sm-archive
view Makefile.am @ 25:a2d60f43590b stable-1-0-9
changes for rhel7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 06 Feb 2017 11:34:51 -0800 |
parents | 37793d4c90a0 |
children | 9298f8b00db2 |
line wrap: on
line source
ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src man html info hackdir = $(sysconfdir)/sm-archive hack_SCRIPTS = sm-archive sm-archive.service sm-archive-tmpfs.conf hack_DATA = sm-archive.conf htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ html_DATA = AUTHORS COPYING ChangeLog NEWS README CLEANFILES = sm-archive.service sm-archive xml/sm-archive xml/Makefile EXTRA_DIST = sm-archive-tmpfs.conf sm-archive.service.rc sm-archive.rc $(hack_DATA) sm-archive.spec $(wildcard m4/*) $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/sm*) sm-archive: sm-archive.rc cat $(srcdir)/sm-archive.rc | \ sed -e "s,SBINDIR,$(sbindir),g" | \ sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>sm-archive sm-archive.service: sm-archive.service.rc cat $(srcdir)/sm-archive.service.rc | \ sed -e "s,SBINDIR,$(sbindir),g" | \ sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>sm-archive.service chkconfig: sm-archive /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 mv -f $(sysconfdir)/sm-archive /etc/rc.d/init.d /sbin/chkconfig --del sm-archive /sbin/chkconfig --add sm-archive