3 AM_MAKEFLAGS
= --no-print-directory
4 AUTOMAKE_OPTIONS
= color-tests
6 # remove target it the command fails
9 # keep itermediate files
12 pythondir
= $(pyexecdir
)
14 configsdir
= $(sysconfdir
)/ipfire.org
15 crondir
= $(sysconfdir
)/cron.d
23 DISTCHECK_CONFIGURE_FLAGS
= \
24 --with-systemdsystemunitdir
=$$dc_install_base/$(systemdsystemunitdir
)
26 # ------------------------------------------------------------------------------
29 src
/scripts
/ipfire.org \
30 src
/scripts
/ipfire.org-webapp
33 src
/scripts
/ipfire.org.in \
34 src
/scripts
/ipfire.org-webapp.in
37 src
/scripts
/ipfire.org \
38 src
/scripts
/ipfire.org-webapp
41 ipfire.org.conf.sample
44 ipfire.org.conf.sample.in
47 ipfire.org.conf.sample
50 src
/backend
/__init__.py \
51 src
/backend
/accounts.py \
53 src
/backend
/asterisk.py \
55 src
/backend
/countries.py \
56 src
/backend
/database.py \
57 src
/backend
/fireinfo.py \
58 src
/backend
/geoip.py \
60 src
/backend
/memcached.py \
61 src
/backend
/mirrors.py \
63 src
/backend
/netboot.py \
65 src
/backend
/nopaste.py \
66 src
/backend
/planet.py \
67 src
/backend
/releases.py \
68 src
/backend
/settings.py \
70 src
/backend
/tracker.py \
72 src
/backend
/zeiterfassung.py
74 backenddir
= $(pythondir
)/ipfire
76 # ------------------------------------------------------------------------------
81 src
/web
/handlers_accounts.py \
82 src
/web
/handlers_admin.py \
83 src
/web
/handlers_base.py \
84 src
/web
/handlers_boot.py \
85 src
/web
/handlers_download.py \
86 src
/web
/handlers_fireinfo.py \
87 src
/web
/handlers_iuse.py \
88 src
/web
/handlers_mirrors.py \
89 src
/web
/handlers_news.py \
90 src
/web
/handlers_nopaste.py \
91 src
/web
/handlers_planet.py \
92 src
/web
/handlers_rss.py \
93 src
/web
/handlers_talk.py \
96 webdir
= $(backenddir
)/web
98 # ------------------------------------------------------------------------------
100 # TODO install the base for now and add all other templates later
103 src
/templates
/base.html
105 templatesdir
= $(datadir)/templates
107 # ------------------------------------------------------------------------------
110 src
/scss
/style.scss \
111 src
/scss
/_buttons.scss \
112 src
/scss
/_donation.scss \
113 src
/scss
/_fonts.scss \
114 src
/scss
/_icons.scss \
116 src
/scss
/_variables.scss
119 src
/templates
/messages
/main.scss
122 src
/templates
/messages
/main.css
133 staticdir
= $(datadir)/static
135 static_fonts_DATA
= \
138 static_fontsdir
= $(staticdir
)/fonts
140 static_images_DATA
= \
143 static_imagesdir
= $(staticdir
)/images
148 static_jsdir
= $(staticdir
)/js
150 # ------------------------------------------------------------------------------
153 src
/crontab
/ipfire.org
155 # ------------------------------------------------------------------------------
158 systemdsystemunit_DATA
= \
159 src
/systemd
/ipfire.org-webapp-1.service \
160 src
/systemd
/ipfire.org-webapp-2.service \
161 src
/systemd
/ipfire.org-webapp-3.service \
162 src
/systemd
/ipfire.org-webapp-4.service
165 $(systemdsystemunit_DATA
)
168 $(systemdsystemunitdir
)
172 src
/systemd
/ipfire.org-webapp-1.service.in \
173 src
/systemd
/ipfire.org-webapp-3.service.in \
174 src
/systemd
/ipfire.org-webapp-3.service.in \
175 src
/systemd
/ipfire.org-webapp-4.service.in
177 # ------------------------------------------------------------------------------
180 '|PACKAGE_NAME=$(PACKAGE_NAME)|' \
181 '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
182 '|configsdir=$(configsdir)|' \
183 '|bindir=$(bindir)|' \
184 '|datadir=$(datadir)|'
187 $(AM_V_GEN
)$(MKDIR_P
) $(dir $@
) && \
188 $(SED
) $(subst '|,-e 's|@
,$(subst =,\@|
,$(subst |
',|g',$(substitutions
)))) \
194 %.css
: %.scss Makefile
195 $(AM_V_GEN
)$(MKDIR_P
) $(dir $@
) && \
196 $(SASSC
) --style compressed
$< > $@
198 src
/scss
/main.css
: $(SCSS_FILES
) Makefile
199 $(AM_V_GEN
)$(MKDIR_P
) $(dir $@
) && \
200 $(SASSC
) --style compressed
$< > $@