[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#791463: Quick review



Hi guys,

I just wanted to note that with the latest bmake (20150606-1), it is
enough to have this in your debian/rules:

#!/usr/bin/make -f

%:
	dh $@ --buildsystem=bmake

And then you have to apply a patch to Makefile.in so that the Makefile
accepts and uses DESTDIR.

-- 
Cheers,
  Andrew
diff --git a/Makefile.in b/Makefile.in
index f29bf74..db85ba6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -58,7 +58,7 @@ all: @BUILD_APPS@
 install: @BUILD_APPS@
 	for app in $(APPS) $(SCSI_APPS); do \
 		echo "$(INSTALL) $$app $(bindir)/$$app"; \
-		$(INSTALL) $$app $(bindir)/$$app; \
+		$(INSTALL) $$app $(DESTDIR)$(bindir)/$$app; \
 	done
 
 depend:

Reply to: