Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
fix: fix path to docs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
robsavoye committed Apr 29, 2024
2 parents 8f31e51 + 8d035a7 commit 1ea6f94
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ install-data-hook:
@$(MKDIR_P) $(DESTDIR)$(pkglibdir)/../system
cp -rvu $(srcdir)/setup/service/underpass.service $(DESTDIR)$(pkglibdir)/../system/

dist-hook: apidoc
dist-hook:
$(MKDIR_P) $(DESTDIR)/$(docdir)
(cd docs && $(DOXYGEN))
cp -rvp docs/html $(DESTDIR)/$(docdir)

if ENABLE_PCH
Expand Down
8 changes: 8 additions & 0 deletions dist/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
bzip2,
openssl,
postgis
libboost-all-dev (>= 1.69),
libxml++2.6 | libxml++2.6-2v5 | libxml++3.0,
libgdal26 | libgdal28 | libgdal31 | libgdal32 | libgdal33,
libpqxx-7.6,
bzip2,
openssl,
postgis

Description: A daemon for processing OSM replication files.

# Package: underpass-dbg
Expand Down
13 changes: 9 additions & 4 deletions dist/debian/postinst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2020, 2021, 2023 Humanitarian OpenStreetMap Team
# Copyright (c) 2020, 2021, 2023, 2024 Humanitarian OpenStreetMap Team
#
# This file is part of Underpass.
#
Expand Down Expand Up @@ -33,7 +33,12 @@ prompt()
{
eval $1
echo "Database configuration for ${config['title']} "
echo "# Database configuration for ${config['title']}" >> /etc/default/underpass
if test -w /etc/default/underpass; then
echo "# Database configuration for ${config['title']}" >> /etc/default/underpass
else
echo "ERROR: You don't have write permission to /etc/default/underpass"
exit
fi

for i in ${!config[@]}; do
if test x"$i" == x"title" -o x"$i" == x"prefix"; then
Expand Down Expand Up @@ -85,8 +90,8 @@ if [ "$1" = "configure" ]; then
touch /etc/default/underpass
fi

prompt "$(declare -p config)"
declare -A config

# For the Galaxy OSM Stats database
config['title']="Underpass"
config['prefix']="UNDERPASS"
Expand Down

0 comments on commit 1ea6f94

Please sign in to comment.