X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=debian%2Frules;h=78ad66a2670544fb2f7436611855bd2fe352712b;hp=7b5d3139edc223f3c7c2c1925350e5bd54e4af39;hb=ae776b1091bfdea4e2764ccb2652471ee5c9ce00;hpb=128e038085291f40482e39e9481d47942af7ceee diff --git a/debian/rules b/debian/rules index 7b5d313..78ad66a 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ CFLAGS = -Wall -g bindir = /usr/sbin mandir = /usr/share/man sysconfdir = /etc -destdir = $(CURDIR)/debian/prometheus +destdir = $(CURDIR)/deb/prometheus docdir = /usr/share/doc ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -20,7 +20,7 @@ build: build-stamp build-stamp: dh_testdir $(CC) -o $(CURDIR)/prometheus $(CURDIR)/prometheus.c -# $(CC) -o $(CURDIR)/prometheus-monthly-stats $(CURDIR)/optional-tools/monthly-stats.c +# $(CC) -o $(CURDIR)/prometheus-stats $(CURDIR)/optional-tools/prometheus-stats.c touch $@ @@ -40,7 +40,7 @@ install: build dh_clean -k dh_installdirs install -m 755 -o root -g root $(CURDIR)/prometheus $(destdir)$(bindir) -# install -m 755 -o root -g root $(CURDIR)prometheus-monthly-stats $(destdir)$(bindir) +# install -m 755 -o root -g root $(CURDIR)/prometheus-stats $(destdir)$(bindir) install -m 644 -o root -g root $(CURDIR)/prometheus.1 $(destdir)$(mandir)/man1 install -m 644 -o root -g root $(CURDIR)/prometheus.conf.5 $(destdir)$(mandir)/man5 install -m 755 -o root -g root $(CURDIR)/conf/prometheus.init $(destdir)$(sysconfdir)/init.d/prometheus