Make sure we install plugins in the right place
authorPaul Mackerras <paulus@samba.org>
Sun, 14 Nov 2004 07:33:45 +0000 (07:33 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 14 Nov 2004 07:33:45 +0000 (07:33 +0000)
pppd/plugins/pppoatm/Makefile.linux

index 3a751617ad8f96a2cb4723e2d79ddcdd50eb8a30..72acd0be4447a4175b8ee3f9cfef83cf85fe8139 100644 (file)
@@ -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