doc: fix Makefile for doc after commands.py to commands/__init__.py

Summary:
Recently we moved commands.py to a folder structure which broke `make
doc`. This commit fixes the same.

Reviewed By: ikostia

Differential Revision: D10255835

fbshipit-source-id: e0bdc6ce58fd8a5bf55a5f5e5b8bb361cb85f660
This commit is contained in:
Saurabh Singh 2018-10-09 07:52:49 -07:00 committed by Facebook Github Bot
parent 1ffa44eae3
commit ec574e09dd

View File

@ -1,7 +1,7 @@
SOURCES=$(notdir $(wildcard ../mercurial/help/*.[0-9].txt)) SOURCES=$(notdir $(wildcard ../mercurial/help/*.[0-9].txt))
MAN=$(SOURCES:%.txt=%) MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html) HTML=$(SOURCES:%.txt=%.html)
GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py \ GENDOC=gendoc.py ../mercurial/commands/*.py ../mercurial/help.py \
../mercurial/help/*.txt ../hgext/*.py ../hgext/*/__init__.py ../mercurial/help/*.txt ../hgext/*.py ../hgext/*/__init__.py
PREFIX=/usr/local PREFIX=/usr/local
MANDIR=$(PREFIX)/share/man MANDIR=$(PREFIX)/share/man