File: Makefile

package info (click to toggle)
libmowgli-2 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,792 kB
  • sloc: ansic: 13,344; sh: 3,903; makefile: 310
file content (23 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUBDIRS = src
DISTCLEAN = extra.mk buildsys.mk config.log config.status libmowgli-2.pc

include buildsys.mk

install-extra:
	i="libmowgli-2.pc"; \
	${INSTALL_STATUS}; \
	if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \
		${INSTALL_OK}; \
	else \
		${INSTALL_FAILED}; \
	fi

uninstall-extra:
	i="libmowgli-2.pc"; \
	if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \
		if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \
			${DELETE_OK}; \
		else \
			${DELETE_FAILED}; \
		fi \
	fi