File: Makefile.am

package info (click to toggle)
rssh 2.3.4-5+deb9u4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,036 kB
  • sloc: ansic: 4,437; sh: 1,069; makefile: 62; awk: 19
file content (26 lines) | stat: -rw-r--r-- 1,197 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = nostdinc
AM_CPPFLAGS = -DPATH_RSSH_CONFIG=\"@sysconfdir@/rssh.conf\" -DPATH_CHROOT_HELPER=\"@libexecdir@/rssh_chroot_helper\"
AM_CFLAGS = @defcflags@ @static@
bin_PROGRAMS = rssh
libexec_PROGRAMS = rssh_chroot_helper
nodist_rssh_SOURCES = main.c pathnames.h config.h
rssh_SOURCES = rssh.h rsshconf.h rsshconf.c log.c log.h util.c util.h argvec.c argvec.h
rssh_chroot_helper_SOURCES = rssh_chroot_helper.c log.c log.h argvec.c argvec.h util.c util.h rsshconf.c rsshconf.h rssh.h
# This is different than PATH_RSSH_CONFIG; it is where the default gets
# installed, whereas PATH_RSSH_CONFIG is where rssh looks for the file.
dist_sysconf_DATA = rssh.conf.default
man_MANS = rssh.1 rssh.conf.5
EXTRA_DIST = $(man_MANS) CHROOT SECURITY LICENSE rssh.spec mkchroot.sh conf_convert.sh
base=`echo @PACKAGE_STRING@|tr " " "-"`

install-exec-hook:
	chmod u+s $(libexecdir)/rssh_chroot_helper

rpm:	dist
	rpmbuild -ta --sign $(base).tar.gz
	cp /users/ddm/tmp/RPM/i386/$(base)-1.i386.rpm .
	cp /users/ddm/tmp/RPM/$(base)-1.src.rpm .
	gpg -ba --default-key ddm@pizzashack.org $(base).tar.gz
	mv $(base).tar.gz.asc $(base).tar.gz.sig