make sure plugins get installed in the right place
authorPaul Mackerras <paulus@samba.org>
Sun, 14 Nov 2004 07:58:37 +0000 (07:58 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 14 Nov 2004 07:58:37 +0000 (07:58 +0000)
pppd/plugins/rp-pppoe/Makefile.linux

index 5c8ecafc150dcf11bce0a44e589759f902d4ebf0..2ffa1c079b3f0c1cb6ce424e61c4bb62da2ac356 100644 (file)
 # This program may be distributed according to the terms of the GNU
 # General Public License, version 2 or (at your option) any later version.
 #
-# $Id: Makefile.linux,v 1.5 2004/11/13 12:14:59 paulus Exp $
+# $Id: Makefile.linux,v 1.6 2004/11/14 07:58:37 paulus Exp $
 #***********************************************************************
 
 DESTDIR = @DESTDIR@
 BINDIR = $(DESTDIR)/sbin
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
+LIBDIR = $(DESTDIR)/lib/pppd/$(PPPDVERSION)
+
+PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
 
 INSTALL        = install