Commit 56ee6301 authored by Jordan Sissel's avatar Jordan Sissel
Browse files

Use fpm's new directory mapping to install files in specific locations

parent 43f6c12d
......@@ -38,13 +38,14 @@ vendor-clean:
$(MAKE) -C vendor/zeromq/ clean
$(MAKE) -C vendor/zlib/ clean
rpm deb: PREFIX=/opt/lumberjack
rpm deb: | build-all
fpm -s dir -t $@ -n lumberjack -v $(VERSION) --prefix /opt/lumberjack \
--exclude '*.a' --exclude 'lib/pkgconfig/zlib.pc' -C build \
fpm -s dir -t $@ -n lumberjack -v $(VERSION) \
--exclude '*.a' --exclude 'lib/pkgconfig/zlib.pc' \
--description "a log shipping tool" \
--url "" \
bin/lumberjack bin/
#bin/keygen bin/lumberjack bin/ lib
build/bin/lumberjack=$(PREFIX)/bin/ build/bin/$(PREFIX)/bin/ \
# Vendor'd dependencies
# If VENDOR contains 'zeromq' download and build it.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment