X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fpppoatm%2FMakefile.linux;h=72acd0be4447a4175b8ee3f9cfef83cf85fe8139;hb=98b641cbee0c4489e83320962ddf652eb9070f03;hp=3a751617ad8f96a2cb4723e2d79ddcdd50eb8a30;hpb=dd41357657d1436fe20692aa43613ceae8e03fa0;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