1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
TARGET += Makefile \
META.yml
all: $(TARGET)
${MAKE} LD_RUN_PATH="";
%.pm: $(S)/%.pm.in
cat $< | \
sed \
-e 's/@VERSION@/${RELEASE_VERSION}/g' \
> $@
%.yml: $(S)/%.yml.in
cat $< | \
sed \
-e 's/@VERSION@/${RELEASE_VERSION}/g' \
> $@
Makefile: META.yml $(PMTARGET)
perl Makefile.PL INC='$(CFLAGS)' LIBS='$(LDFLAGS)' INSTALLDIRS=vendor
install:
${MAKE} -f Makefile install
uninstall:
echo uninstall target not supported yet
clean:
-${MAKE} -f Makefile clean
rm -f $(TARGET) Makefile.old *.d
|