Description: Install in DESTDIR
Author: Stephen Kitt <skitt@debian.org>

--- a/nulib2/Makefile.in
+++ b/nulib2/Makefile.in
@@ -63,10 +63,10 @@
 	@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
