summaryrefslogtreecommitdiffstats
path: root/src/share/api/Makefile.am
blob: e84b6308183e8718b4fdc28a686b3b019c600319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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