From: Paul Mackerras Date: Sun, 14 Nov 2004 07:33:45 +0000 (+0000) Subject: Make sure we install plugins in the right place X-Git-Tag: ppp-2.4.7~171 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=5c67c02eb224154d41739567d8ce3c6f79df2ece Make sure we install plugins in the right place --- diff --git a/pppd/plugins/pppoatm/Makefile.linux b/pppd/plugins/pppoatm/Makefile.linux index 3a75161..72acd0b 100644 --- a/pppd/plugins/pppoatm/Makefile.linux +++ b/pppd/plugins/pppoatm/Makefile.linux @@ -9,6 +9,8 @@ INSTALL = install DESTDIR = @DESTDIR@ LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) +VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) + PLUGIN := pppoatm.so PLUGIN_OBJS := pppoatm.o