Makefile
changeset 169 6b34a5421330
parent 168 f9bf8f84df7f
child 171 7b69d1d86254
equal deleted inserted replaced
168:f9bf8f84df7f 169:6b34a5421330
     5 DOCDIR=$(PREFIX)/doc/mercurial-server
     5 DOCDIR=$(PREFIX)/doc/mercurial-server
     6 ETCDIR=/etc/mercurial-server
     6 ETCDIR=/etc/mercurial-server
     7 NEWUSER=hg
     7 NEWUSER=hg
     8 
     8 
     9 INSTALL=install
     9 INSTALL=install
       
    10 
       
    11 build: build/html/index.html pythonbuild
    10 
    12 
    11 setup-adduser: installfiles adduser inituser
    13 setup-adduser: installfiles adduser inituser
    12 
    14 
    13 # WARNING: this is experimental
    15 # WARNING: this is experimental
    14 setup-useradd: installfiles useradd inituser
    16 setup-useradd: installfiles useradd inituser
    27 build/html/index.html: doc/manual.docbook
    29 build/html/index.html: doc/manual.docbook
    28 	xsltproc -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $^
    30 	xsltproc -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $^
    29 
    31 
    30 pythonbuild:
    32 pythonbuild:
    31 	python setup.py build
    33 	python setup.py build
    32 
       
    33 build: build/html/index.html pythonbuild
       
    34 
    34 
    35 pythoninstall:
    35 pythoninstall:
    36 	python setup.py install \
    36 	python setup.py install \
    37 	    --install-purelib=$(LIBDIR) \
    37 	    --install-purelib=$(LIBDIR) \
    38 	    --install-platlib=$(LIBDIR) \
    38 	    --install-platlib=$(LIBDIR) \