summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-09-07 02:20:37 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-09-07 02:20:37 +0200
commitd26d1cf01b328ee6ec9c66554ef5b0bd65edabfa (patch)
tree8280d7fecf43f146dd8d22b87877407cbca0e7a4 /Makefile.am
parent864638ed84e8f9e2932d73edb55744ffdf580be5 (diff)
downloadlibrpm-tizen-d26d1cf01b328ee6ec9c66554ef5b0bd65edabfa.tar.gz
librpm-tizen-d26d1cf01b328ee6ec9c66554ef5b0bd65edabfa.tar.bz2
librpm-tizen-d26d1cf01b328ee6ec9c66554ef5b0bd65edabfa.zip
Let $(pkgsrcdir)/{RPMS,SRPMS,SPECS,SOURCES,BUILD} be installed by automake rules.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index efc854559..e6c0fb8e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -89,6 +89,16 @@ CLEANFILES += macros.tmp macros
EXTRA_DIST += macros.in
pkgsrcdir = $(prefix)/src/$(RPMCANONVENDOR)
+pkgsrc_RPMSdir = $(pkgsrcdir)/RPMS
+pkgsrc_RPMS_DATA =
+pkgsrc_SRPMSdir = $(pkgsrcdir)/SRPMS
+pkgsrc_SRPMS_DATA =
+pkgsrc_SPECSdir = $(pkgsrcdir)/SPECS
+pkgsrc_SPECS_DATA =
+pkgsrc_SOURCESdir = $(pkgsrcdir)/SOURCES
+pkgsrc_SOURCES_DATA =
+pkgsrc_BUILDdir = $(pkgsrcdir)/BUILD
+pkgsrc_BUILD_DATA =
rpmvardir = $(localstatedir)/lib/rpm
rpmvar_DATA =
@@ -118,9 +128,6 @@ install-exec-hook:
done
install-data-local:
- @for dir in BUILD RPMS SOURCES SPECS SRPMS ; do\
- $(MKDIR_P) $(DESTDIR)$(pkgsrcdir)/$$dir;\
- done
@case "@host_cpu@" in \
*86) $(MKDIR_P) $(DESTDIR)$(pkgsrcdir)/RPMS/i386 ;\
$(MKDIR_P) $(DESTDIR)$(pkgsrcdir)/RPMS/i486 ;\