mirror of
https://github.com/troglobit/finit.git
synced 2026-10-06 07:43:43 +07:00
Issue #14: Improved support for static Finit builds
- Upgrade libite (LITE) for new UNIX file parser API to improve static builds of Finit. - Re-enable bootmisc plugin for static builds by adding built-in support for reading GID from /etc/group. - Allow inetd support for static builds by adding built-in support for reading service and protocol from /etc/services and /etc/protocols. - Do not try to install/uninstall any plugins for static builds. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -27,6 +27,7 @@ clean:
|
||||
distclean:
|
||||
-@$(RM) *.o *.so $(JUNK) $(DEPS)
|
||||
|
||||
ifneq ($(STATIC), 1)
|
||||
install: all
|
||||
@install -d $(DESTDIR)$(plugindir)
|
||||
@for plugin in $(PLUGINS); do \
|
||||
@@ -40,6 +41,12 @@ uninstall:
|
||||
rm $(DESTDIR)$(plugindir)/$$plugin 2>/dev/null; \
|
||||
done
|
||||
-@rmdir $(DESTDIR)$(plugindir) 2>/dev/null
|
||||
else
|
||||
install:
|
||||
@true
|
||||
uninstall:
|
||||
@true
|
||||
endif
|
||||
|
||||
ifneq ($(MAKECMDGOALS),distclean)
|
||||
-include $(DEPS)
|
||||
|
||||
Reference in New Issue
Block a user