pamac-classic/Makefile

52 lines
2.7 KiB
Makefile
Raw Normal View History

2014-11-17 17:56:15 -03:00
all:
cd resources; make resources
cd src; make binaries
cd po; make gettext
clean:
2014-11-30 12:51:33 -03:00
rm -f src/*.c src/pamac-refresh src/pamac-daemon src/pamac-tray src/pamac-updater src/pamac-manager src/pamac-install
2014-11-22 11:10:42 -03:00
rm -f resources/*.c
2014-11-17 17:56:15 -03:00
rm -rf po/locale
2014-11-19 10:46:44 -03:00
rm -f po/*.mo
2014-11-17 17:56:15 -03:00
rm -f data/polkit/org.manjaro.pamac.policy
install:
2014-11-21 06:35:26 -03:00
mkdir -p /usr/share/icons/hicolor
cp -r data/icons/* /usr/share/icons/hicolor
cp -r po/locale /usr/share
2014-11-17 17:56:15 -03:00
install -Dm744 src/pamac-daemon /usr/bin/pamac-daemon
install -Dm755 src/pamac-tray /usr/bin/pamac-tray
install -Dm755 src/pamac-manager /usr/bin/pamac-manager
install -Dm755 src/pamac-updater /usr/bin/pamac-updater
install -Dm755 src/pamac-install /usr/bin/pamac-install
2014-11-30 12:51:33 -03:00
install -Dm755 src/pamac-refresh /usr/bin/pamac-refresh
2014-11-17 17:56:15 -03:00
install -Dm755 src/pamac-install /usr/bin/pamac-install
install -Dm644 data/applications/pamac-tray.desktop /etc/xdg/autostart/pamac-tray.desktop
install -Dm644 data/applications/pamac-manager.desktop /usr/share/applications/pamac-manager.desktop
install -Dm644 data/applications/pamac-updater.desktop /usr/share/applications/pamac-updater.desktop
install -Dm644 data/applications/pamac-install.desktop /usr/share/applications/pamac-install.desktop
install -Dm644 data/config/pamac.conf /etc/pamac.conf
install -Dm644 data/dbus/org.manjaro.pamac.conf /etc/dbus-1/system.d/org.manjaro.pamac.conf
install -Dm644 data/dbus/org.manjaro.pamac.service /usr/share/dbus-1/system-services/org.manjaro.pamac.service
install -Dm644 data/systemd/pamac.service /usr/lib/systemd/system/pamac.service
2014-11-30 12:51:33 -03:00
install -Dm744 data/networkmanager/99_update_pamac_tray /etc/NetworkManager/dispatcher.d/99_update_pamac_tray
2014-11-17 17:56:15 -03:00
install -Dm644 data/polkit/org.manjaro.pamac.policy /usr/share/polkit-1/actions/org.manjaro.pamac.policy
2015-01-02 19:30:45 -03:00
install -Dm644 data/mime/x-alpm-package.xml /usr/share/mime/packages/x-alpm-package.xml
2014-11-17 17:56:15 -03:00
uninstall:
2014-11-21 06:35:26 -03:00
rm -f /usr/share/icons/16x16/apps/system-software-install.png
rm -f /usr/share/icons/24x24/status/pamac-tray-no-update.png
rm -f /usr/share/icons/24x24/status/pamac-tray-update.png
rm -f /usr/share/icons/32x32/apps/system-software-install.png
rm -f /usr/share/locale/*/LC_MESSAGES/pamac.mo
2014-11-17 17:56:15 -03:00
rm -f /usr/bin/pamac-daemon /usr/bin/pamac-updater /usr/bin/pamac-tray /usr/bin/pamac-manager /usr/bin/pamac-install
rm -f /etc/xdg/autostart/pamac-tray.desktop
rm -f /usr/share/applications/pamac-manager.desktop /usr/share/applications/pamac-updater.desktop /usr/share/applications/pamac-install.desktop
rm -f /etc/pamac.conf
rm -f /etc/dbus-1/system.d/org.manjaro.pamac.conf
rm -f /usr/share/dbus-1/system-services/org.manjaro.pamac.service
rm -f /usr/lib/systemd/system/pamac.service
rm -f /usr/share/polkit-1/actions/org.manjaro.pamac.policy
2015-01-02 19:30:45 -03:00
rm -f /usr/share/mime/packages/x-alpm-package.xml