Debian Codegraph @

scripts/airdrop-ng/Makefile.am

raw
1 # Aircrack-ng
2 #
3 # Copyright (C) 2017 Joseph Benden <[email protected]>
4 #
5 # Autotool support was written by: Joseph Benden <[email protected]>
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #
21 # In addition, as a special exception, the copyright holders give
22 # permission to link the code of portions of this program with the
23 # OpenSSL library under certain conditions as described in each
24 # individual source file, and distribute linked combinations
25 # including the two.
26 #
27 # You must obey the GNU General Public License in all respects
28 # for all of the code used other than OpenSSL.
29 #
30 # If you modify file(s) with this exception, you may extend this
31 # exception to your dnl version of the file(s), but you are not obligated
32 # to do so.
33 #
34 # If you dnl do not wish to do so, delete this exception statement from your
35 # version.
36 #
37 # If you delete this exception statement from all source files in the
38 # program, then also delete it here.
39
40 SUBDIRS = doc
41
42 all-local:
43 ( cd $(srcdir) && $(PYTHON) setup.py build \
44 --build-base $(shell $(READLINK) -f $(builddir))/build \
45 --verbose )
46
47 install-exec-local:
48 ( cd $(srcdir) && $(MKDIR_P) $(DESTDIR)$(pkgpythondir) && \
49 $(PYTHON) $(srcdir)/setup.py install \
50 --prefix $(DESTDIR)$(prefix) \
51 --record $(DESTDIR)$(pkgpythondir)/airdrop-ng-install_files.txt \
52 --verbose )
53
54 uninstall-local:
55 cat $(DESTDIR)$(pkgpythondir)/airdrop-ng-install_files.txt | xargs rm -rf
56 rm -rf $(DESTDIR)$(pkgpythondir)/airdrop-ng-install_files.txt
57 rmdir $(DESTDIR)$(pkgpythondir) || :
58
59 clean-local:
60 rm -fr $(shell $(READLINK) -f $(builddir))/build
61
62 EXTRA_DIST = airdrop \
63 airdrop-ng \
64 README \
65 setup.py