--- Makefile.in.orig	2007-01-06 18:12:18.000000000 +0900
+++ Makefile.in	2007-05-17 20:50:30.000000000 +0900
@@ -49,7 +49,7 @@
 	cd lib; $(MAKE) install
 	cd objc; $(MAKE) install
 	cd doc; $(MAKE) install
-	$(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
+	$(INSTALL) -m 444 -T $(DESTDIR)$(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
 
 uninstall :
 	cd objc; $(MAKE) uninstall
