mirror of
https://github.com/miniflux/v2.git
synced 2024-10-01 23:01:16 +02:00
1e16e19d11
Instead of running mkdir from debian/rules, the native way to create the necessary directories is with the dirs file which is read by the dh_installdirs helper script. See: * https://www.debian.org/doc/manuals/maint-guide/dother.en.html#dirs * dh_installdirs(1) manual page I am not aware of any specific problems that could arise from doing it manually instead of using dh_installdirs. But sticking to the native approach might be a good idea.
17 lines
310 B
Makefile
Executable File
17 lines
310 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
DESTDIR=debian/miniflux
|
|
|
|
%:
|
|
dh $@ --with=systemd
|
|
|
|
override_dh_auto_clean:
|
|
override_dh_auto_test:
|
|
override_dh_auto_build:
|
|
override_dh_auto_install:
|
|
cp miniflux.conf $(DESTDIR)/etc/miniflux.conf
|
|
cp miniflux $(DESTDIR)/usr/bin/miniflux
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --noscripts
|