File: Makefile.am

package info (click to toggle)
gnome-lokkit 0.50.22-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,560 kB
  • ctags: 580
  • sloc: sh: 7,143; ansic: 5,953; makefile: 417; yacc: 318
file content (23 lines) | stat: -rw-r--r-- 765 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
SUBDIRS = macros po intl src pixmaps doc

## We dist autogen.sh since this is an example program
## Real-world programs do not need to distribute autogen.sh
EXTRA_DIST = \
        gnome-lokkit.desktop	\
	gnome-lokkit.pamd	\
	gnome-lokkit.console	\
	autogen.sh

Applicationsdir = $(datadir)/gnome/apps/System
Applications_DATA = gnome-lokkit.desktop

sysconfigdir = $(sysconfdir)/X11/sysconfig
sysconfig_DATA = gnome-lokkit.desktop

install-data-local:
	mkdir -p $(sysconfdir)/pam.d/
	cp -f $(srcdir)/gnome-lokkit.pamd $(sysconfdir)/pam.d/gnome-lokkit
	mkdir -p $(sysconfdir)/security/console.apps/
	cp -f $(srcdir)/gnome-lokkit.console $(sysconfdir)/security/console.apps/gnome-lokkit
	mkdir -p $(prefix)/bin/
	cd $(prefix)/bin && ln -sf consolehelper gnome-lokkit