Annotation of embedaddon/istgt/etc/Makefile.in, revision 1.1
1.1 ! misho 1: # for etc
! 2:
! 3: top_srcdir = @top_srcdir@
! 4: srcdir = @srcdir@
! 5:
! 6: prefix = @prefix@
! 7: exec_prefix = @exec_prefix@
! 8: bindir = @bindir@
! 9: sbindir = @sbindir@
! 10: sysconfdir = @sysconfdir@
! 11: datadir = @datarootdir@
! 12: libexecdir = @libexecdir@
! 13:
! 14: configdir = @configdir@
! 15: mediadir = @mediadir@
! 16:
! 17: SED = @SED@
! 18:
! 19: source =
! 20: header =
! 21: document =
! 22: sample = auth.conf istgtcontrol.conf \
! 23: istgt.large.conf.in istgt.conf.in istgt.sh.in
! 24:
! 25: DISTDIR = $(top_srcdir)/`cat $(top_srcdir)/distdir`
! 26: DISTFILES = Makefile.in \
! 27: $(header) $(source) \
! 28: $(document) $(sample)
! 29:
! 30: #########################################################################
! 31:
! 32: all: istgt.large.conf istgt.conf istgt.sh
! 33:
! 34: istgt.large.conf:
! 35: $(SED) -e 's:%%SYSCONFDIR%%:$(sysconfdir):g' \
! 36: -e 's:%%CONFIGDIR%%:$(configdir):g' \
! 37: -e 's:%%MEDIADIR%%:$(mediadir):g' < istgt.large.conf.in > $@
! 38: istgt.conf:
! 39: $(SED) -e 's:%%SYSCONFDIR%%:$(sysconfdir):g' \
! 40: -e 's:%%CONFIGDIR%%:$(configdir):g' \
! 41: -e 's:%%MEDIADIR%%:$(mediadir):g' < istgt.conf.in > $@
! 42: istgt.sh:
! 43: $(SED) -e 's:%%SYSCONFDIR%%:$(sysconfdir):g' \
! 44: -e 's:%%CONFIGDIR%%:$(configdir):g' \
! 45: -e 's:%%MEDIADIR%%:$(mediadir):g' \
! 46: -e 's:%%BINDIR%%:$(bindir):g' < istgt.sh.in > $@
! 47:
! 48: dist: $(DISTFILES)
! 49: mkdir $(DISTDIR)/$(subdir)
! 50: cd $(srcdir); thisdir=`pwd`; \
! 51: for file in $(DISTFILES); do \
! 52: cp -p $$thisdir/$$file $(DISTDIR)/$(subdir); \
! 53: done
! 54:
! 55: install: install-dirs
! 56: install -c -m 0644 istgt.conf $(DESTDIR)$(sysconfdir)/istgt/istgt.conf.sample
! 57: install -c -m 0644 istgt.large.conf \
! 58: $(DESTDIR)$(sysconfdir)/istgt/istgt.large.conf.sample
! 59: install -c -m 0600 auth.conf $(DESTDIR)$(sysconfdir)/istgt/auth.conf.sample
! 60: install -c -m 0600 istgtcontrol.conf \
! 61: $(DESTDIR)$(sysconfdir)/istgt/istgtcontrol.conf.sample
! 62: # if [ ! -f $(sysconfdir)/rc.d/istgt ]; then \
! 63: # install -c -m 0555 istgt.sh $(DESTDIR)$(sysconfdir)/rc.d/istgt; \
! 64: # fi
! 65: install -c -m 0555 istgt.sh $(DESTDIR)$(sysconfdir)/rc.d/istgt
! 66:
! 67: install-dirs:
! 68: mkdir -p $(DESTDIR)$(sysconfdir)/istgt
! 69: mkdir -p $(DESTDIR)$(sysconfdir)/rc.d
! 70:
! 71: clean:
! 72: -rm -f istgt.large.conf istgt.conf istgt.sh
! 73: -rm -f a.out *.o *.core
! 74: -rm -f *~
! 75:
! 76: distclean: clean
! 77: -rm -f Makefile config.status config.cache config.log config.h
! 78:
! 79: depend:
! 80:
! 81: #########################################################################
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>