Skip to content

Commit

Permalink
build: use UNITDIR and INIT from yum.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Zdenek Pavlas committed Jan 14, 2014
1 parent 6ddb350 commit 0ee586f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ install:
mkdir -p $(DESTDIR)/var/cache/yum
mkdir -p $(DESTDIR)/var/lib/yum

for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` UNITDIR=$(UNITDIR) INIT=$(INIT) -C $$d install; [ $$? = 0 ] || exit 1; done

apidocs:
make -C docs/sphinxdocs html
Expand Down
4 changes: 0 additions & 4 deletions yum-cron/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
UNITDIR=/lib/systemd/system

INIT=systemd

all:
echo "Nothing to do"

Expand Down

0 comments on commit 0ee586f

Please sign in to comment.