mirror of
https://github.com/fadden/nulib2.git
synced 2025-01-14 01:29:43 +00:00
Install to DESTDIR
Packaging systems commonly specify DESTDIR as a temporary directory in which to install the build artifacts. Its use is transparent in other contexts. Signed-off-by: Stephen Kitt <steve@sk2.org>
This commit is contained in:
parent
f6ff60420b
commit
21a10ad266
@ -63,10 +63,10 @@ all: $(PRODUCT)
|
||||
@true
|
||||
|
||||
install: $(PRODUCT)
|
||||
$(srcdir)/mkinstalldirs $(bindir)
|
||||
$(INSTALL_PROGRAM) $(PRODUCT) $(bindir)
|
||||
$(srcdir)/mkinstalldirs $(mandir)/man1
|
||||
$(INSTALL_DATA) nulib2.1 $(mandir)/man1/
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
|
||||
$(INSTALL_PROGRAM) $(PRODUCT) $(DESTDIR)$(bindir)
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
|
||||
$(INSTALL_DATA) nulib2.1 $(DESTDIR)$(mandir)/man1/
|
||||
|
||||
install-shared:
|
||||
LIB_PRODUCT="libnufx.so" $(MAKE) -e install
|
||||
|
Loading…
x
Reference in New Issue
Block a user