Rivendellaudio/xdg/Makefile.am
Fred Gleason ac7e3d1bd9 2018-10-16 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Rivendell->Configuration' menu entry for rddbconfig(8).
2018-10-16 18:12:35 -04:00

114 lines
5.4 KiB
Makefile

## automake.am
##
## xdg/automake.am for Rivendell
##
## (C) Copyright 2002-2005 Fred Gleason <fredg@paravelsystems.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 2 as
## published by the Free Software Foundation.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public
## License along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
## Use automake to process this into a Makefile.in
install-exec-am:
mkdir -p $(DESTDIR)@prefix@/share/applications
cp rivendell-opsguide-html.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-opsguide-pdf.desktop $(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-rddbconfig.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-rdlibrary.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdlogedit.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdlogin.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdlogmanager.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdmonitor.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdpanel.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdsoftkeys.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rmlsend.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
cp rddbconfig-root-pam $(DESTDIR)/etc/pam.d/rddbconfig-root
mkdir -p $(DESTDIR)/etc/security/console.apps
cp rdalsaconfig-root-consolehelper $(DESTDIR)/etc/security/console.apps/rdalsaconfig-root
cp rddbconfig-root-consolehelper $(DESTDIR)/etc/security/console.apps/rddbconfig-root
cp rivendell-rdalsaconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rddbconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
rm -f $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
ln -s /usr/bin/consolehelper $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
cp rivendell-rddbconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
rm -f $(DESTDIR)$(prefix)/bin/rddbconfig-root
ln -s /usr/bin/consolehelper $(DESTDIR)$(prefix)/bin/rddbconfig-root
uninstall-local:
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/security/console.apps/rdalsaconfig-root
rm -f $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
rm -f $(DESTDIR)/etc/pam.d/rddbconfig-root
rm -f $(DESTDIR)/etc/security/console.apps/rddbconfig-root
rm -f $(DESTDIR)$(prefix)/bin/rddbconfig-root
EXTRA_DIST = rdalsaconfig-root-consolehelper\
rdalsaconfig-root-pam\
rddbconfig-root-consolehelper\
rddbconfig-root-pam\
rivendell-configuration.directory\
rivendell-documentation.directory\
rivendell-logtools.directory\
rivendell-opsguide-html.desktop.in\
rivendell-opsguide-pdf.desktop.in\
rivendell-rdadmin.desktop\
rivendell-rdairplay.desktop\
rivendell-rdalsaconfig.desktop\
rivendell-rdalsaconfig-root.desktop\
rivendell-rdcartslots.desktop\
rivendell-rdcastmanager.desktop\
rivendell-rdcatch.desktop\
rivendell-rddbconfig.desktop\
rivendell-rddbconfig-root.desktop\
rivendell-rddgimport.desktop\
rivendell-rddiscimport.desktop\
rivendell-rdgpimon.desktop\
rivendell-rdlibrary.desktop\
rivendell-rdlogedit.desktop\
rivendell-rdlogin.desktop\
rivendell-rdlogmanager.desktop\
rivendell-rdmonitor.desktop\
rivendell-rdpanel.desktop\
rivendell-rmlsend.desktop\
rivendell-rdsoftkeys.desktop\
rivendell-rivendell.directory\
rivendell-rivendell.menu\
rivendell-utilities.directory
CLEANFILES = *~
DISTCLEANFILES = rivendell-opsguide-html.desktop\
rivendell-opsguide-pdf.desktop
MAINTAINERCLEANFILES = *~\
Makefile.in