diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-04-16 23:58:27 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:15 -0700 |
commit | b2983b9d4a05b44c9230e17a3d6737d185d1c749 (patch) | |
tree | 9bb721b5ac46798b437f400b18d1e3ac182975c2 /extras/selinux/Makefile | |
parent | f2bd44417bf2c6c99037b430f3f97cfd65a21f76 (diff) |
[PATCH] udev_selinux changes
Here is the fix for extras/seliux/*
o install the binary in /sbin/
o add symlink to /etc/dev.d/ with suffix .dev
o removed the undefined udev_log variable
o fixed compiler warnings
Diffstat (limited to 'extras/selinux/Makefile')
-rw-r--r-- | extras/selinux/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/extras/selinux/Makefile b/extras/selinux/Makefile index 813756700b..35d2e9e6da 100644 --- a/extras/selinux/Makefile +++ b/extras/selinux/Makefile @@ -26,7 +26,9 @@ exec_prefix = ${prefix} etcdir = ${prefix}/etc sbindir = ${exec_prefix}/sbin usrbindir = ${exec_prefix}/usr/bin +usrsbindir = ${exec_prefix}/usr/sbin mandir = ${prefix}/usr/share/man +devddir = ${etcdir}/dev.d/default hotplugdir = ${etcdir}/hotplug.d/default configdir = ${etcdir}/udev/ initdir = ${etcdir}/init.d/ @@ -52,8 +54,11 @@ clean: spotless: clean - install: all + $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG) + - ln -s -f $(DESTDIR)$(sbindir)/$(PROG) $(DESTDIR)$(devddir)/$(PROG).dev -uninstall: +uninstall: + - rm $(DESTDIR)$(devddir)/$(PROG).dev + - rm $(DESTDIR)$(sbindir)/$(PROG) |