mirror of
https://github.com/troglobit/libite.git
synced 2026-10-24 11:44:37 +00:00
Makefile: Split install-dev taget into install-dev and install-data
This makes it possible to skip installing any unnecessary cruft. Useful for embedded targets. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
16611f3e5f
commit
e42aca8856
1 file changed
+4
-2
@@ -90,13 +90,15 @@ install-dev:
|
||||
$(PRINT) " INSTALL $(DESTDIR)$(libdir)/$(STATICLIB)\n"
|
||||
$(Q)install -d $(DESTDIR)$(libdir)
|
||||
$(Q)$(INSTALL) $(STATICLIB) $(DESTDIR)$(libdir)/$(STATICLIB)
|
||||
|
||||
install-data:
|
||||
$(Q)install -d $(DESTDIR)$(datadir)
|
||||
$(Q)for file in $(DISTFILES); do \
|
||||
$(Q)for file in $(DISTFILES); do \
|
||||
printf " INSTALL $(DESTDIR)$(datadir)/$$file\n"; \
|
||||
install -m 0644 $$file $(DESTDIR)$(datadir)/$$file; \
|
||||
done
|
||||
|
||||
install: install-exec install-dev
|
||||
install: install-exec install-dev install-data
|
||||
|
||||
uninstall:
|
||||
-$(Q)$(RM) -r $(DESTDIR)$(datadir)
|
||||
|
||||
Reference in new issue
Block a user