]>
git.ipfire.org Git - pakfire.git/blob - python/Makefile
88e4b01d5ad45907fcbd8412b2b459458c3248d5
5 all: $(PACKAGE_VERSION_FILE
)
6 # Build the binary parts.
10 install: $(PACKAGE_VERSION_FILE
)
11 for mod in
$(PYTHON_MODULES
); do \
12 mkdir
-pv
$(DESTDIR
)$(PYTHON_DIR
)/$${mod}; \
13 cp
-vrf
$${mod}/*.py
$(DESTDIR
)$(PYTHON_DIR
)/$${mod} || exit
; \
16 $(MAKE
) -C src
install
20 rm -f
$(PACKAGE_VERSION_FILE
)
24 $(PACKAGE_VERSION_FILE
): ..
/Makeconfig
25 echo
"# this file is autogenerated by the buildsystem" > $(PACKAGE_VERSION_FILE
)
26 echo
"PAKFIRE_VERSION = \"$(PACKAGE_VERSION)\"" >> $(PACKAGE_VERSION_FILE
)