mirror of
https://github.com/lexborisov/Modest
synced 2024-11-22 05:41:32 +03:00
Merge pull request #40 from mody/fix-pkgconfig-for-debian
fixed prefix in pkgconfig for Debian
This commit is contained in:
commit
050b1eb458
5
Makefile
5
Makefile
@ -181,6 +181,7 @@ clean: $(MODEST_BUILD_MODULES_TARGET_CLEAN)
|
||||
rm -f $(call MODEST_LIBRARY_WITH_VERSION) && rm -f $(call MODEST_LIBRARY_STATIC)
|
||||
rm -rf $(TEST_DIR_BASE)
|
||||
$(call MODEST_BUILD_CLEAN_AFTER)
|
||||
rm $(MODEST_PKG_CONFIG_FILE)
|
||||
for f in $(BUILD_SUB_DIRS); do $(MAKE) -C $$f clean; done
|
||||
|
||||
clone: clean_api $(MODEST_BUILD_MODULES_TARGET_CLONE)
|
||||
@ -203,7 +204,9 @@ uninstall:
|
||||
test: library
|
||||
$(MAKE) -C $(TEST_DIR) run
|
||||
|
||||
make-pc-file:
|
||||
make-pc-file: $(MODEST_PKG_CONFIG_FILE)
|
||||
|
||||
$(MODEST_PKG_CONFIG_FILE): $(MODEST_PKG_CONFIG_FILE).in
|
||||
$(call MODEST_PKG_CONFIG_PROCESS,$(MODEST_PKG_CONFIG_FILE).in, $(MODEST_PKG_CONFIG_FILE))
|
||||
|
||||
modules:
|
||||
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -6,5 +6,8 @@
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- prefix=/usr
|
||||
|
||||
override_dh_auto_install:
|
||||
prefix=/usr dh_auto_install --
|
||||
dh_auto_install -- prefix=/usr
|
||||
|
@ -7,4 +7,4 @@ Name: @libname@
|
||||
Description: @description@
|
||||
Version: @version@
|
||||
Cflags: @cflags@
|
||||
Libs: -L${libdir} -l@libname@
|
||||
Libs: -L${libdir} -l@libname@ -lm
|
||||
|
Loading…
Reference in New Issue
Block a user