]> git.proxmox.com Git - pve-common.git/blobdiff - src/Makefile
rename data to src
[pve-common.git] / src / Makefile
diff --git a/src/Makefile b/src/Makefile
new file mode 100644 (file)
index 0000000..5e50005
--- /dev/null
@@ -0,0 +1,39 @@
+
+PREFIX=/usr
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/share/man
+DOCDIR=${PREFIX}/share/doc
+MAN1DIR=${MANDIR}/man1/
+PERLDIR=${PREFIX}/share/perl5
+
+LIB_SOURCES=                   \
+       Daemon.pm               \
+       SectionConfig.pm        \
+       Network.pm              \
+       ProcFSTools.pm          \
+       PodParser.pm            \
+       CLIHandler.pm           \
+       RESTHandler.pm          \
+       JSONSchema.pm           \
+       SafeSyslog.pm           \
+       AtomicFile.pm           \
+       INotify.pm              \
+       Tools.pm                \
+       AbstractMigrate.pm      \
+       Exception.pm
+
+all:
+
+.PHONY: install
+install:
+       install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
+       for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
+
+
+.PHONY: clean
+clean:         
+       rm -rf *~ 
+
+.PHONY: distclean
+distclean: clean
+