easy-samba/Makefile

39 lines
1.3 KiB
Makefile
Raw Normal View History

2021-03-28 22:18:14 +02:00
####################################
2021-08-03 13:26:58 +02:00
# Install easy-samba 1.6.3 (q3aql) #
2021-03-28 22:18:14 +02:00
####################################
2018-06-02 15:57:11 +02:00
PREFIX=/usr
install:
mkdir -p /opt/easy-samba/
mkdir -p $(PREFIX)/share/icons/easy-samba/
cp -rf icon/easy-samba.png $(PREFIX)/share/icons/easy-samba/
cp -rf icon/easy-samba.desktop $(PREFIX)/share/applications/
2021-08-03 03:34:08 +02:00
cp -rf img $(PREFIX)/share/icons/easy-samba/
2018-06-02 15:57:11 +02:00
cp -rf src/easy-samba $(PREFIX)/bin
cp -rf src/easy-samba-gtk $(PREFIX)/bin
cp -rf src/easy-samba-gtk-admin $(PREFIX)/bin
chmod 755 $(PREFIX)/bin/easy-samba
chmod 755 $(PREFIX)/bin/easy-samba-gtk
chmod 755 $(PREFIX)/bin/easy-samba-gtk-admin
2021-03-28 22:18:14 +02:00
install-es:
mkdir -p /opt/easy-samba/
mkdir -p $(PREFIX)/share/icons/easy-samba/
cp -rf icon/easy-samba.png $(PREFIX)/share/icons/easy-samba/
cp -rf icon/easy-samba.desktop $(PREFIX)/share/applications/
2021-08-03 03:34:08 +02:00
cp -rf img $(PREFIX)/share/icons/easy-samba/
2021-03-28 22:18:14 +02:00
cp -rf src-ES/easy-samba $(PREFIX)/bin
cp -rf src-ES/easy-samba-gtk $(PREFIX)/bin
cp -rf src-ES/easy-samba-gtk-admin $(PREFIX)/bin
chmod 755 $(PREFIX)/bin/easy-samba
chmod 755 $(PREFIX)/bin/easy-samba-gtk
chmod 755 $(PREFIX)/bin/easy-samba-gtk-admin
2018-06-24 21:15:26 +02:00
2018-06-02 15:57:11 +02:00
uninstall:
rm -rf $(PREFIX)/bin/easy-samba
rm -rf $(PREFIX)/bin/easy-samba-gtk
rm -rf $(PREFIX)/bin/easy-samba-gtk-admin
rm -rf $(PREFIX)/share/icons/easy-samba/easy-samba.png
rm -rf $(PREFIX)/share/applications/easy-samba.desktop