Added a "rpm" target so you can just do "make rpm" and it should do
the right thing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0f7deca925
commit
862fed9394
15
Makefile.in
15
Makefile.in
@ -1346,3 +1346,18 @@ clean:
|
|||||||
$(RM) ./lib/lib*
|
$(RM) ./lib/lib*
|
||||||
|
|
||||||
cleanall: clean
|
cleanall: clean
|
||||||
|
|
||||||
|
|
||||||
|
RPMTOP=_dist_dir/_rpm_top
|
||||||
|
|
||||||
|
rpm: dist
|
||||||
|
@echo "*** Building RPMs ***"
|
||||||
|
-mkdir $(RPMTOP)
|
||||||
|
-mkdir $(RPMTOP)/SOURCES
|
||||||
|
-mkdir $(RPMTOP)/SPECS
|
||||||
|
-mkdir $(RPMTOP)/BUILD
|
||||||
|
-mkdir $(RPMTOP)/RPMS
|
||||||
|
-mkdir $(RPMTOP)/SRPMS
|
||||||
|
cp -f $(WXARCHIVE) $(RPMTOP)/SOURCES
|
||||||
|
rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
|
||||||
|
mv -f `find $(RPMTOP) -name "wx$(TARGET)*.rpm"` .
|
||||||
|
Loading…
Reference in New Issue
Block a user