summaryrefslogtreecommitdiffstats
path: root/src/share/api/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/Makefile.am')
-rw-r--r--src/share/api/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/share/api/Makefile.am b/src/share/api/Makefile.am
new file mode 100644
index 0000000..e84b630
--- /dev/null
+++ b/src/share/api/Makefile.am
@@ -0,0 +1,17 @@
+# list of api files
+api_files =
+include $(srcdir)/api_files.mk
+
+EXTRA_DIST = api_files.mk
+EXTRA_DIST += README
+EXTRA_DIST += _template.json
+EXTRA_DIST += generate-templates
+EXTRA_DIST += generate-api-files
+EXTRA_DIST += $(api_files)
+
+install-data-local:
+ mkdir -p $(DESTDIR)$(datarootdir)/${PACKAGE_NAME}/api
+ cp $(api_files) $(DESTDIR)$(datarootdir)/${PACKAGE_NAME}/api
+
+uninstall-local:
+ rm -rf $(DESTDIR)$(datarootdir)/${PACKAGE_NAME}/api