summaryrefslogtreecommitdiffstats
path: root/srclib/libapreq/Makefile.in
blob: 189d1e566ed18f1f72c578e6ad866ae090765f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
INSTALL_TARGETS = install-apreq-config
BUILD_SUBDIRS = library
CLEAN_SUBDIRS = library
APREQ_CONFIG = apreq2-config

include $(top_builddir)/build/rules.mk

# Create apu-config script suitable for the install tree
$(APREQ_CONFIG).out: $(APREQ_CONFIG)
	sed 's,^\(location=\).*$$,\1installed,' < $(APREQ_CONFIG).in > $(APREQ_CONFIG)

install-apreq-config: $(APREQ_CONFIG)
	@$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
	$(INSTALL) -m 755 $(APREQ_CONFIG) $(DESTDIR)$(bindir)/$(APREQ_CONFIG)