root/trunk/RHEL5.2/Makefile

Revision 234, 0.5 kB (checked in by slawrence, 5 months ago)

Replace rpmify script with a make file for creating selinux policy and clip rpms.
Update make files and clip spec file to install files in the correct locations (not /usr/share/clip).
No longer use the installer.in script for post rpm install changes, everything is installed by the rpm now.
Update policy spec files to obey the checkpolicy version number for BuildRequires?. A commented out if/else was breaking things.
Update README with build steps and dependencies.
Add make file for building selinux toolchain rpms.

Line 
1 SUBDIRS=pam_tally3 scripts conf man
2
3 export PREFIX=/usr
4
5 export BINDIR=$(PREFIX)/sbin
6 export SYSCONFDIR=/etc
7 export SHAREDIR=$(PREFIX)/share/clip
8 export KSDIR=$(SHAREDIR)/kickstart
9 export CONFDIR=$(SHAREDIR)/conf
10 export MANDIR=$(PREFIX)/share/man/man8
11
12 install: $(SUBDIRS)
13         for i in $?; do \
14                 ($(MAKE) -C $$i install); \
15         done
16         test -d $(DESTDIR)$(KSDIR) || install -m 755 -d $(DESTDIR)$(KSDIR)
17         install -m 644 kickstart/clip.ks $(DESTDIR)$(KSDIR)
18         #test -d $(DESTDIR)$(CONFDIR) || install -m 755 -d $(DESTDIR)$(CONFDIR)
19
Note: See TracBrowser for help on using the browser.