$OpenBSD: patch-erts-47_4_0_lib_parsetools-1_0_1_src_Makefile,v 1.1 2001/10/14 17:24:13 espie Exp $
--- erts-47.4.0/lib/parsetools-1.0.1/src/Makefile.orig	Sun Oct 14 18:27:49 2001
+++ erts-47.4.0/lib/parsetools-1.0.1/src/Makefile	Sun Oct 14 18:28:03 2001
@@ -70,16 +70,16 @@ $(APP_TARGET): $(APP_SRC)
 include $(CC_ROOT)/internal_tools/make/otp_release_targets.mk
 
 release_spec: opt
-	$(INSTALL_DIR) $(RELSYSDIR)/src
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
-	$(INSTALL_DIR) $(RELSYSDIR)/ebin
-	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
-	$(INSTALL_DIR) $(RELSYSDIR)/include
-	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
+	$(INSTALL_DIR) $(DESTDIR)$(RELSYSDIR)/src
+	$(INSTALL_DATA) $(ERL_FILES) $(DESTDIR)$(RELSYSDIR)/src
+	$(INSTALL_DIR) $(DESTDIR)$(RELSYSDIR)/ebin
+	$(INSTALL_DATA) $(TARGET_FILES) $(DESTDIR)$(RELSYSDIR)/ebin
+	$(INSTALL_DIR) $(DESTDIR)$(RELSYSDIR)/include
+	$(INSTALL_DATA) $(HRL_FILES) $(DESTDIR)$(RELSYSDIR)/include
 
 release_src_spec: release_spec
-	$(INSTALL_DATA) Makefile $(APP_SRC) $(RELSYSDIR)/src
-	$(INSTALL_DATA) ../Makefile ../vsn.mk $(RELSYSDIR)
+	$(INSTALL_DATA) Makefile $(APP_SRC) $(DESTDIR)$(RELSYSDIR)/src
+	$(INSTALL_DATA) ../Makefile ../vsn.mk $(DESTDIR)$(RELSYSDIR)
 
 release_docs_spec:
 
