CC=gcc
AR=ar
INSTALL=install
+RPMBUILD=rpmbuild
#
# sparse is architecture-neutral, which means that we need to tell it
@cp git-core.spec $(GIT_TARNAME)
tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git-core.spec
@rm -rf $(GIT_TARNAME)
- gzip -9 $(GIT_TARNAME).tar
+ gzip -f -9 $(GIT_TARNAME).tar
rpm: dist
- rpmbuild -ta git-core-$(GIT_VERSION).tar.gz
+ $(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
test: all
$(MAKE) -C t/ all
+doc:
+ $(MAKE) -C Documentation all
+
+install-doc:
+ $(MAKE) -C Documentation install
+
clean:
rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
rm -f git-core-*.tar.gz git-core.spec