]> git.proxmox.com Git - pve-cluster.git/blob - data/PVE/Cluster/Makefile
buildsys: replace autotools with plain makefiles
[pve-cluster.git] / data / PVE / Cluster / Makefile
1 PVEDIR=${DESTDIR}/usr/share/perl5/PVE
2
3 SOURCES=IPCConst.pm
4
5 .PHONY: install
6 install: ${SOURCES}
7 install -d ${PVEDIR}/Cluster
8 for f in ${SOURCES}; do install -m 0664 $$f ${PVEDIR}/Cluster/$$f; done
9
10 IPCConst.pm: ../../src/cfs-ipc-ops.h
11 awk -f IPCConst.pm.awk $< > $@.tmp
12 mv $@.tmp $@
13 IPCConst.pm: IPCConst.pm.awk
14
15 .PHONY: clean
16 clean:
17 rm -f IPCConst.pm IPCConst.pm.tmp