]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/pppoatm/Makefile.linux
Make sure we install plugins in the right place
[ppp.git] / 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