mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2014-08-15 Fred Gleason <fredg@paravelsystems.com>
* Modified 'conf/Makefile.am' to install 'rd-bin.conf' in $(sysconfdir). * Updated 'INSTALL' to include information about the '--sysconfdir' flag. * Updated 'get_distro.sh' to detect RHEL 7 correctly. * Modified the installation script to work on RHEL 7 in 'rivendell.spec.in'.
This commit is contained in:
@@ -25,14 +25,13 @@ install-exec-am:
|
||||
mkdir -p $(DESTDIR)@prefix@/share/applications
|
||||
cp rivendell-rdadmin.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdairplay.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdalsaconfig.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdcartslots.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdcastmanager.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdcatch.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rddgimport.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rddiscimport.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdgpimon.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdhpiinfo.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdhpiinfo-root.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdlibrary.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdlogedit.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdlogin.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
@@ -41,15 +40,33 @@ install-exec-am:
|
||||
cp rivendell-rdpanel.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdsoftkeys.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rmlsend.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rdalsaconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
|
||||
mkdir -p $(DESTDIR)@prefix@/share/desktop-directories
|
||||
cp *.directory $(DESTDIR)@prefix@/share/desktop-directories/
|
||||
mkdir -p $(DESTDIR)/etc/xdg/menus/applications-merged
|
||||
cp *.menu $(DESTDIR)/etc/xdg/menus/applications-merged/
|
||||
mkdir -p $(DESTDIR)/etc/pam.d
|
||||
cp rdalsaconfig-root-pam $(DESTDIR)/etc/pam.d/rdalsaconfig-root
|
||||
if test -f ../rdhpi/.libs/librdhpi-@VERSION@.so ; then cp rdhpiinfo-root-pam $(DESTDIR)/etc/pam.d/rdhpiinfo-root ; fi
|
||||
mkdir -p $(DESTDIR)/etc/security/console.apps
|
||||
cp rdalsaconfig-root-consolehelper $(DESTDIR)/etc/security/console.apps/rdalsaconfig-root
|
||||
if test -f ../rdhpi/.libs/librdhpi-@VERSION@.so ; then cp rdhpiinfo-root-consolehelper $(DESTDIR)/etc/security/console.apps/rdhpiinfo-root ; fi
|
||||
rm -f $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
|
||||
ln -s /usr/bin/consolehelper $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
|
||||
rm -f $(DESTDIR)$(prefix)/bin/rdhpiinfo-root
|
||||
ln -s /usr/bin/consolehelper $(DESTDIR)$(prefix)/bin/rdhpiinfo-root
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)@prefix@/share/applications/rivendell-*.desktop
|
||||
rm -f $(DESTDIR)@prefix@/share/desktop-directories/rivendell-*.directory
|
||||
rm -f $(DESTDIR)/etc/xdg/menus/applications-merged/rivendell-*.menu
|
||||
rm -f $(DESTDIR)/etc/pam.d/rdalsaconfig-root
|
||||
rm -f $(DESTDIR)/etc/pam.d/rdhpiinfo-root
|
||||
rm -f $(DESTDIR)/etc/security/console.apps/rdalsaconfig-root
|
||||
rm -f $(DESTDIR)/etc/security/console.apps/rdhpiinfo-root
|
||||
rm -f $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
|
||||
rm -f $(DESTIDR)$(prefix)/bin/rdhpiinfo-root
|
||||
|
||||
EXTRA_DIST = rdalsaconfig-root-consolehelper\
|
||||
rdalsaconfig-root-pam\
|
||||
|
||||
Reference in New Issue
Block a user