diff --git a/Makefile b/Makefile index c953213..ed52be3 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ dist: $(PACKAGE)-$(VERSION)/project.conf $(RM) -- $(PACKAGE)-$(VERSION) -install: all +install: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done uninstall: diff --git a/data/16x16/Makefile b/data/16x16/Makefile index e543bb8..7459864 100644 --- a/data/16x16/Makefile +++ b/data/16x16/Makefile @@ -11,7 +11,7 @@ clean: distclean: clean -install: all +install: $(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps $(INSTALL) -m 0644 -- todo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/todo.png diff --git a/data/24x24/Makefile b/data/24x24/Makefile index 02895f0..08767b9 100644 --- a/data/24x24/Makefile +++ b/data/24x24/Makefile @@ -11,7 +11,7 @@ clean: distclean: clean -install: all +install: $(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps $(INSTALL) -m 0644 -- todo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps/todo.png diff --git a/data/48x48/Makefile b/data/48x48/Makefile index f397fa4..b1fac5f 100644 --- a/data/48x48/Makefile +++ b/data/48x48/Makefile @@ -11,7 +11,7 @@ clean: distclean: clean -install: all +install: $(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps $(INSTALL) -m 0644 -- todo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/todo.png diff --git a/data/Makefile b/data/Makefile index 9d440f5..29b5aa5 100644 --- a/data/Makefile +++ b/data/Makefile @@ -17,7 +17,7 @@ clean: distclean: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done -install: all +install: @for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done $(MKDIR) $(DESTDIR)$(PREFIX)/share/applications $(INSTALL) -m 0644 -- todo.desktop $(DESTDIR)$(PREFIX)/share/applications/todo.desktop diff --git a/po/Makefile b/po/Makefile index aedc2c8..8745c4b 100644 --- a/po/Makefile +++ b/po/Makefile @@ -21,7 +21,7 @@ clean: distclean: clean $(RM) -- $(TARGETS) -install: all +install: $(TARGETS) ./gettext.sh -P "$(DESTDIR)$(PREFIX)" -i -- "fr.mo" uninstall: diff --git a/src/Makefile b/src/Makefile index cd1a81f..b90791a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -45,7 +45,7 @@ clean: distclean: clean $(RM) -- $(TARGETS) -install: all +install: $(TARGETS) $(MKDIR) $(DESTDIR)$(BINDIR) $(INSTALL) -m 0755 -- todo $(DESTDIR)$(BINDIR)/todo