Commit Graph

145 Commits (b58f8d8f2c6389ad07fa31a81a6489cae7d205c9)

Author SHA1 Message Date
Yen Chi Hsuan 831a34caa2
[Makefilea] Fix for GNU make < 4
Closes #9387

The shell assignment operator != was introduced in GNU make 4.0, or
specifically the commit in [1]. This fix removes such usages and
fallback to a more portable syntax. Tested with:

* GNU make 3.82 on CentOS 7.2
* bmake 20150910 on CentOS 7.2, source RPM from Fedora 24 [2]
* GNU make 4.2.1 on Arch Linux (Arch official package)
* bmake 20160926 on Arch Linux (Arch official package)
* GNU make 3.82 on Arch Linux (Compiled from source)
* Apple bsdmake-24 on macOS Sierra, binary package from Homebrew

Thanks @bdeyal for the feedback of the first tests

[1] http://git.savannah.gnu.org/cgit/make.git/commit/?id=b34438bee83ee906a23b881f257e684a0993b9b1
[2] http://koji.fedoraproject.org/koji/buildinfo?buildID=716769
8 years ago
Yen Chi Hsuan d3c97bad61
Ignore and cleanup 3gp files 8 years ago
Yen Chi Hsuan 628406db96
[Makefile] Cleanup files from fragment-based downloaders 8 years ago
Yen Chi Hsuan 35aa6c538f Add ChangeLog 9 years ago
Sergey M․ 27f17c0eab
[Makefile] Fix youtube-dl.1 target
Now it accepts output filename as argument
9 years ago
Yen Chi Hsuan 2bee7b25f3
[Makefile] Cleanup m4a files
[ci skip]
9 years ago
TRox1972 8585dc4cdc [Makefile] delete thumbnails 9 years ago
Yen Chi Hsuan 72f3289ac4
[test/test_socks] Add tests for SOCKS proxies 9 years ago
Yen Chi Hsuan b1c6a5bac8
[Makefile] Remove more media files in `make clean` 9 years ago
Jaime Marquínez Ferrándiz 779822d945 Add experimental support for lazy loading the info extractors
'make lazy-extractors' creates the youtube_dl/extractor/lazy_extractors.py (imported by youtube_dl/extractor/__init__.py), which contains simplified classes that only have the 'suitable' class method and that load the appropiate class with the '__new__' method when a instance is created.
9 years ago
Jaime Marquínez Ferrándiz ec4a4c6fcc Makefile: remove ISSUE_TEMPLATE.md from the 'all' target (fixes #9088)
It isn't included in the tar file, causing build failures.
Since it's only used for GitHub, I think we don't need to store it in the tar file.
9 years ago
Jaime Marquínez Ferrándiz be0c7009fb Makefile: use full path for the ISSUE_TEMPLATE.md file 9 years ago
Sergey M․ 034947dd1e Rename ISSUE_TEMPLATE.tmpl in order not to be picked up by github 9 years ago
Sergey M․ 8751da85a7 [Makefile] Fix ISSUE_TEMPLATE.md target 9 years ago
Sander van den Oever 7710bdf4e8 Add initial ISSUE_TEMPLATE
Add auto-updating of youtube-dl version in ISSUE_TEMPLATE

Move parts of template text and adopt makefile to new format

Moved the 'kind-of-issue' section and rephrased a bit

Rephrased and moved Example URL section upwards

Moved ISSUE_TEMPLATE inside .github folder.

Update makefile to match new folderstructure
9 years ago
Jaime Marquínez Ferrándiz 3ff63fb365 Makefile: make it compatible with bmake
It's the portable version of BSD make: http://crufty.net/help/sjg/bmake.html
The syntax for conditionals is different in GNU make and BSD make, so we use the shell
9 years ago
Yen Chi Hsuan 1b0635aba3 [Makefile] Allow specifying the Python version in offline tests 9 years ago
Yen Chi Hsuan 101067de12 Jython support - handle *.class files 9 years ago
Yen Chi Hsuan 1d14c75f55 [Makefile] iQiyi login test requires network 9 years ago
Yen Chi Hsuan ef428960c9 Merge pull request #7691 from ryandesign/use-PYTHON-env-var
Always use PYTHON env var in Makefile
9 years ago
Ryan Schmidt 8639f89f51 Always use PYTHON env var in Makefile 9 years ago
Jaime Marquínez Ferrándiz 8e678af4ba Makefile: fix 'find' command
It worked with the GNU version, but not with the BSD version.
10 years ago
Philipp Hagemeister 1c6510f57a [Makefile] clean pyc files in clean target 10 years ago
Jaime Marquínez Ferrándiz bfc993cc91 Merge branch 'subtitles-rework'
(Closes PR #4964)
10 years ago
Jaime Marquínez Ferrándiz ab84349b16 [test/YoutubeDL] Add test for subtitles
Updated the offlinetest make target to not skip it
10 years ago
Philipp Hagemeister 383456aa29 [Makefile] Also delete *.avi files in clean 10 years ago
Philipp Hagemeister d200b11c7e [Makefile] Simplify clean/cleanall 10 years ago
Jaime Marquínez Ferrándiz c5d666d374 Fix build with python 2.6
* Packages cannot be executed
* '.format' needs the index of the argument

(Reported in https://github.com/Homebrew/homebrew/issues/35616)
10 years ago
Philipp Hagemeister 8848314c08 [Makefile] Make offline tests actually work offline 10 years ago
Philipp Hagemeister 416c7fcbce Add documentation about supported sites (Fixes #4503) 10 years ago
Jaime Marquínez Ferrándiz dc9a441bfa Move flake8 configuration to setup.cfg
It will be used when calling flake8 from any directory in the project
10 years ago
Jaime Marquínez Ferrándiz ee6dfe8308 Use flake8 instead of pyflakes and pep8
It combines both tools
10 years ago
Philipp Hagemeister 39f594d660 [Makefile] Ensure that offline test really is offline 10 years ago
Philipp Hagemeister a0ab29f8a1 Add offlinetest make target 10 years ago
Philipp Hagemeister e56190b378 [Makefile] Add CONTRIBUTING.md (Fixes #2984) 10 years ago
Philipp Hagemeister 0fa2b899d1 [Makefile] remove *.info.json in clean target 10 years ago
Philipp Hagemeister 6407432333 [Makefile] remove temporary files in clean target 10 years ago
Xu Cheng 24f7fb5e1e add zsh completion support into Makefile 10 years ago
Jaime Marquínez Ferrándiz 56d1912f1d Add a completion script generator for the fish shell 10 years ago
rubicks df866e7f2a
envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON 11 years ago
Philipp Hagemeister aae74e3832 [Makefile] Remove CHANGELOG entry 11 years ago
Jaime Marquínez Ferrándiz dffcc2ea0c Makefile: write the manpage to the right file and use the processed markdown document 11 years ago
Philipp Hagemeister d19bb9c0aa Split man and README (Fixes #2892) 11 years ago
Jaime Marquínez Ferrándiz 2c8a4ba6b5 Makefile: include the docs in the tarball 11 years ago
Jaime Marquínez Ferrándiz 76965512da Fix the indentation of the Makefile
It uses tabs, no spaces.
11 years ago
Jaime Marquínez Ferrándiz 996d1c3242 Don't include the test/testdata directory in the youtube-dl.tar.gz
The last releases included big files that increased the size of the compressed file.
11 years ago
Philipp Hagemeister 633a50cf4b Update Makefile to packaged paths 12 years ago
chocolateboy 5738240ee8 only install to /etc if PREFIX is /usr or /usr/local 12 years ago
Philipp Hagemeister 434eb6f26b Include man and bash completion in PyPi release 12 years ago
Philipp Hagemeister c67598c3e1 Remove space before shebang 12 years ago
Jaime Marquínez Ferrándiz 271d3fbdaa Option in makefile to select python interpreter 12 years ago
Philipp Hagemeister 6dd3471900 Add Makefile in tarball (Closes #626) 12 years ago
Philipp Hagemeister 814eed0ea1 Fix tar target (--exclude-vcs is not supported everywhere, and reading . while writing to it can fail randomly) 12 years ago
Philipp Hagemeister 039dc61bd2 Simplify Makefile 12 years ago
Filippo Valsorda b962b76f43 re-worked release workflow, it is one-step and creates GPG signatures now 12 years ago
Filippo Valsorda f427df17ab some fixes, pulled the codename from the code 12 years ago
gcmalloc a4680a590f changing the template file extension 12 years ago
Filippo Valsorda fedb6816cd rollback tests multiprocess, Travis and OSX don't support it 12 years ago
Filippo Valsorda 4c1d273e88 it's curious but bash-completion is with - and not _ 12 years ago
gcmalloc a9d2f7e894 making the script compatible with python3 12 years ago
Filippo Valsorda 23109d6a9c youtube-dl.tar.gz make target 12 years ago
Filippo Valsorda 4bb028f48e devscripts/make_readme.py in place of all that sedding, that has porting problems 12 years ago
Filippo Valsorda a5741a3f5e pip installs fine! 12 years ago
Filippo Valsorda cc51a7d4e0 New repo skeleton, getting ready for PyPi 12 years ago
Filippo Valsorda 20ba04267c removed __main__.py from the root of the repo 12 years ago
Philipp Hagemeister f1cb5bcad2 Make __main__ work in all scenarios with relative imports 12 years ago
Philipp Hagemeister 8179d2ba74 Merge branch 'master' of github.com:rg3/youtube-dl 12 years ago
Philipp Hagemeister df4bad3245 Document configuration 12 years ago
Filippo Valsorda a7b5c8d6a8 fix FAQ on how to compile (also, starnge fix in the Makefile) 12 years ago
Till Maas e79e8b7dc4 Update install target
- Allow to configure destination directories to fulfill the needs of
  different distributions
- Support DESTDIR variable for staging installation when packaging
- Do not set user/group to root. It requires 'make install' to run as
  root, but then this is the default behaviour anyways.
12 years ago
gcmalloc edcc7d2dd3 StringIO used by nosetests do not merge with the way youtube-dl handle sys.stdout and sys.stderr 12 years ago
gcmalloc 6d9c22cd26 correcting the makefile according to the new one 12 years ago
gcmalloc 729baf58b2 removing extended globbing for the find utility 12 years ago
gcmalloc 5a33b73309 correcting the makefile 12 years ago
gcmalloc 434d60cd95 adding clean rule in the makefile 12 years ago
gcmalloc b387fb0385 adding test rule in the Makefile 12 years ago
Filippo Valsorda 646b885cbf Added missing dependencies to Makefile 12 years ago
Philipp Hagemeister 20326b8b1b Let Makefile use youtube-dl source code instead of compiled binary 12 years ago
Philipp Hagemeister 85f76ac90b Merge remote-tracking branch 'FiloSottille/automation' 12 years ago
Filippo Valsorda 0e841bdc54 add PREFIX option to make install 12 years ago
Filippo Valsorda 225dceb046 moved make release to devscripts/release.sh 12 years ago
Filippo Valsorda dce1088450 A more "make-esque" Makefile with file targets and dependencies 13 years ago
Filippo Valsorda 7a7c093ab0 added one-step realese script 'make release version=nn' - closes #158 13 years ago
Filippo Valsorda ce7b2a40d0 added automatically generated bash-completion; closes #191 13 years ago
Filippo Valsorda cfcec69331 auto-generating manpage from README.md (closes #151); redesigned Makefile 13 years ago
joehillen ef0c08cdfe Added install target to Makefile. 13 years ago
Philipp Hagemeister 668d975039 quiet zip in make compile 13 years ago
Filippo Valsorda d77c3dfd02 Split code as a package, compiled into an executable zip 13 years ago
Rogério Brito 66e8777769 Makefile: Don't use `echo`'s `-e` option for portability.
Many systems (including Debian, Ubuntu and derivatives like Linux Mint) use
Dash as a noninteractive version of `/bin/sh`, invoked by `make`.

Dash's `echo` command doesn't understand the `-e` option and this generates
spurious output when running `make`.  See [a bugreport][0] for one of the
many instances of this bug/feature in action.

[0]: https://bugs.launchpad.net/ubuntu/+source/dash/+bug/72167
13 years ago
Philipp Hagemeister cb6568bf21 Use the dev version in Makefile 13 years ago
Philipp Hagemeister 235b3ba479 Move code into a separate Python module 13 years ago
Philipp Hagemeister b576abb457 Automatically generate LATEST_VERSION (Closes #16) 13 years ago
Philipp Hagemeister 8f88eb1fa7 Update Makefile to new README format 14 years ago
Philipp Hagemeister 5fd5ce0838 Add default make target 14 years ago
Philipp Hagemeister 4618f3da74 Makefile to recreate README 14 years ago