<NME> Makefile.in
<BEF>  # Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
 #  You may obtain a copy of the License at
 #
 #      http://www.apache.org/licenses/LICENSE-2.0
 #
 #  Unless required by applicable law or agreed to in writing, software
 #  distributed under the License is distributed on an "AS IS" BASIS,
 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 #
 # Originally developed by Gregory Trubetskoy.
 #

INSTALL=@INSTALL@
BINDIR=`dirname @PYTHON_BIN@`

clean:
	rm -rf *~

distclean: clean
	rm -f Makefile

install:
	$(INSTALL) -m 0755 mod_python $(DESTDIR)$(BINDIR)/mod_python

<MSG> Merge pull request #38 from opoplawski/destdir

Create $(DESTDIR)$(BINDIR) if needed (i.e. when building rpm package
<DFF> @@ -26,4 +26,5 @@ distclean: clean
 	rm -f Makefile
 
 install:
+	$(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR)
 	$(INSTALL) -m 0755 mod_python $(DESTDIR)$(BINDIR)/mod_python

{'commit': 'diff --git a/scripts/Makefile.in b/scripts/Makefile.in\nindex 5519a2b..806227f 100644\n--- a/scripts/Makefile.in\n+++ b/scripts/Makefile.in\n@@ -26,4 +26,5 @@ distclean: clean\n \trm -f Makefile\n \n install:\n+\t$(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR)\n \t$(INSTALL) -m 0755 mod_python $(DESTDIR)$(BINDIR)/mod_python\n', 'commit_subject': 'Merge pull request #38 from opoplawski/destdir', 'repo_name': 'grisha/mod_python', 'committer': {'name': 'Grisha Trubetskoy', 'email': '67b8ce82a6b31c30dc9bfe9af420aa17a2ccc3e3@modpython.org', 'time_sec': '1426639854', 'tz_offset': '-240', 'date': {'seconds': '1426639854'}}, 'commit_tree': '8ccab461640ac8eb6544c3cc9a5864be304027c6', 'commit_message': 'Merge pull request #38 from opoplawski/destdir\n\nCreate $(DESTDIR)$(BINDIR) if needed (i.e. when building rpm package', 'language_name': 'Python', 'license': 'apache-2.0', 'hunks': '@@ -26,4 +26,5 @@ distclean: clean\n \trm -f Makefile\n \n install:\n+\t$(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR)\n \t$(INSTALL) -m 0755 mod_python $(DESTDIR)$(BINDIR)/mod_python\n', 'addition_count': 1, 'deletion_count': 0, 'src_file': 'a/scripts/Makefile.in', 'tgt_file': 'b/scripts/Makefile.in', 'file_extension': '.in', 'before_file': ' # Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy\n # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation\n #\n #  Licensed under the Apache License, Version 2.0 (the "License");\n #  you may not use this file except in compliance with the License.\n #  You may obtain a copy of the License at\n #\n #      http://www.apache.org/licenses/LICENSE-2.0\n #\n #  Unless required by applicable law or agreed to in writing, software\n #  distributed under the License is distributed on an "AS IS" BASIS,\n #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n #  See the License for the specific language governing permissions and\n #  limitations under the License.\n #\n # Originally developed by Gregory Trubetskoy.\n #\n\nINSTALL=@INSTALL@\nBINDIR=`dirname @PYTHON_BIN@`\n\nclean:\n\trm -rf *~\n\ndistclean: clean\n\trm -f Makefile\n\ninstall:\n\t$(INSTALL) -m 0755 mod_python $(DESTDIR)$(BINDIR)/mod_python\n', 'message': 'Merge pull request #38 from opoplawski/destdir\n\nCreate $(DESTDIR)$(BINDIR) if needed (i.e. when building rpm package', 'author_name': 'Grisha Trubetskoy', 'lang': 'in'}