X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fpppoatm%2FMakefile.linux;fp=pppd%2Fplugins%2Fpppoatm%2FMakefile.linux;h=72acd0be4447a4175b8ee3f9cfef83cf85fe8139;hb=5c67c02eb224154d41739567d8ce3c6f79df2ece;hp=3a751617ad8f96a2cb4723e2d79ddcdd50eb8a30;hpb=4abe4296f0eddbb2b6ff11dbbd27100156c85f87;p=ppp.git 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