Home | History | Annotate | Download | only in gui
      1 # Installation directories.
      2 PREFIX ?= ${DESTDIR}/usr
      3 SYSCONFDIR ?= ${DESTDIR}/etc
      4 BINDIR ?= $(PREFIX)/bin
      5 SHAREDIR ?= $(PREFIX)/share/system-config-selinux
      6 DATADIR ?= $(PREFIX)/share
      7 MANDIR ?= $(PREFIX)/share/man
      8 
      9 TARGETS= \
     10 booleansPage.py \
     11 domainsPage.py \
     12 fcontextPage.py \
     13 html_util.py \
     14 loginsPage.py \
     15 mappingsPage.py \
     16 modulesPage.py \
     17 polgen.glade \
     18 portsPage.py \
     19 semanagePage.py \
     20 statusPage.py \
     21 system-config-selinux.glade \
     22 system-config-selinux.png \
     23 usersPage.py
     24 
     25 all: $(TARGETS) system-config-selinux.py polgengui.py
     26 
     27 install: all
     28 	-mkdir -p $(MANDIR)/man8
     29 	-mkdir -p $(SHAREDIR)
     30 	-mkdir -p $(BINDIR)
     31 	-mkdir -p $(DATADIR)/pixmaps
     32 	-mkdir -p $(DATADIR)/icons/hicolor/24x24/apps
     33 	-mkdir -p $(SYSCONFDIR)
     34 	-mkdir -p $(DATADIR)/polkit-1/actions/
     35 	install -m 755 system-config-selinux.py $(SHAREDIR)
     36 	install -m 755 system-config-selinux $(BINDIR)
     37 	install -m 755 polgengui.py $(SHAREDIR)
     38 	install -m 644 $(TARGETS) $(SHAREDIR)
     39 	install -m 644 system-config-selinux.8 $(MANDIR)/man8
     40 	install -m 644 selinux-polgengui.8 $(MANDIR)/man8
     41 	install -m 644 system-config-selinux.png $(DATADIR)/pixmaps
     42 	install -m 644 system-config-selinux.png $(DATADIR)/icons/hicolor/24x24/apps
     43 	install -m 644 system-config-selinux.png $(DATADIR)/system-config-selinux
     44 	install -m 644 *.desktop $(DATADIR)/system-config-selinux
     45 	install -m 644 org.selinux.config.policy $(DATADIR)/polkit-1/actions/
     46 clean:
     47 
     48 indent:
     49 
     50 relabel:
     51