diff Makefile.in @ 57:8e1c8afac4dd

- adaptation for $prefix. now configure go along with fakeroot etc. - made all: as the default target in Makefile. OpenBSD requires this. pointed out by iratqq. - replaced target distclean: with mostlyclean:. - added new target maintainer-clean:. this target will erase all mercurial files with intention of making source tree for release.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sat, 17 May 2008 21:03:17 +0900
parents 9ac8cea32513
children f83b14fbca23
line wrap: on
line diff
--- a/Makefile.in	Thu May 15 23:57:02 2008 +0900
+++ b/Makefile.in	Sat May 17 21:03:17 2008 +0900
@@ -8,10 +8,10 @@
 GLIB_LIBS = @GLIB_LIBS@
 LDFLAGS = $(GLIB_LIBS)
 
-PIDGIN_LIB_DIR = @PIDGIN_LIB_DIR@
+PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin
 
 
-default: $(OBJECTIVE)
+all: $(OBJECTIVE)
 
 
 $(OBJECTIVE): $(SRC)
@@ -19,14 +19,18 @@
 
 
 install: $(OBJECTIVE)
-	install -m 755 $(OBJECTIVE) $(PIDGIN_LIB_DIR)/pidgin
+	install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR)
 
 
 clean:
 	rm -f $(OBJECTIVE)
 
 
-distclean: clean
+mostlyclean: clean
 	rm -f Makefile config.log config.status aclocal.m4 *~
 	rm -rf autom4te.cache
 
+
+maintainer-clean: mostlyclean
+	rm -f .hgtags
+	rm -rf .hg