diff --git a/Makefile b/Makefile index 9ed064b..719ad0c 100644 --- a/Makefile +++ b/Makefile @@ -43,23 +43,18 @@ install-locales: locales $(INSTALL_DATA) $${f/.po/.mo} $$dir/usbinstall.mo;\ done - install-dirs: - @$(INSTALL_DIR) $(DESTDIR)$(bindir) + @$(INSTALL_DIR) $(DESTDIR)$(sbindir) @$(INSTALL_DIR) $(DESTDIR)$(mambadir)/usbinstall @$(INSTALL_DIR) $(DESTDIR)$(mambadir)/usbinstall/img @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/sudoers.d/ - install: install-dirs install-locales - $(INSTALL_PROGRAM) src/usbinstall.py $(DESTDIR)$(mambadir)/usbinstall/usbinstall.py $(INSTALL_SCRIPT) src/usbinstall.sh $(DESTDIR)$(sbindir)/usbinstall $(INSTALL_DATA) src/fdisk_template $(DESTDIR)$(mambadir)/usbinstall/fdisk_template $(INSTALL_DATA) src/img/*.png $(DESTDIR)$(mambadir)/usbinstall/img/ ${INSTALL} -m 440 src/usbinstall-sudoers $(DESTDIR)$(sysconfdir)/sudoers.d/usbinstall # Crea un link in /usr/bin agli eseguibili in $(mambadir)/usbinstall - ln -s $(mambadir)/usbinstall/usbinstall.py $(DESTDIR)$(bindir)/usbinstall.py - clean: rm -f $(pck_catalogs:.po=.mo)